PageRenderTime 62ms CodeModel.GetById 33ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/MongoDB.Driver.Legacy.Tests/MongoDB.Driver.Legacy.Tests.csproj

http://github.com/mongodb/mongo-csharp-driver
MSBuild | 68 lines | 59 code | 9 blank | 0 comment | 0 complexity | 99c196d6096c93e028c2e66366229d05 MD5 | raw file
Possible License(s): Apache-2.0
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFrameworks>netcoreapp1.1;netcoreapp2.1;net452</TargetFrameworks>
  4. <LangVersion>7.3</LangVersion>
  5. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  6. <WarningsAsErrors />
  7. <IsPackable>false</IsPackable>
  8. <CodeAnalysisRuleSet>..\..\MongoDBLegacyTest.ruleset</CodeAnalysisRuleSet>
  9. </PropertyGroup>
  10. <PropertyGroup>
  11. <AssemblyTitle>MongoDB.Driver.Legacy.Tests</AssemblyTitle>
  12. <Product>MongoDB.Driver.Legacy.Tests</Product>
  13. <Company>MongoDB Inc.</Company>
  14. <Copyright>Copyright © 2010-present MongoDB Inc.</Copyright>
  15. <Description>MongoDB.Driver.Legacy tests.</Description>
  16. </PropertyGroup>
  17. <PropertyGroup Condition="'$(Version)'==''">
  18. <Version>0.0.0-local</Version>
  19. </PropertyGroup>
  20. <PropertyGroup>
  21. <DefineConstants>TRACE</DefineConstants>
  22. </PropertyGroup>
  23. <PropertyGroup>
  24. <NoWarn>
  25. 1701;1702; <!--https://github.com/dotnet/roslyn/issues/19640-->
  26. xUnit1013; <!--Public method should be marked as test (https://xunit.github.io/xunit.analyzers/rules/xUnit1013.html)-->
  27. xUnit1024; <!--Test methods cannot have overloads (https://xunit.github.io/xunit.analyzers/rules/xUnit1024.html)-->
  28. xUnit2003; <!--Do not use equality check to test for null value (https://xunit.github.io/xunit.analyzers/rules/xUnit2003.html-->
  29. xUnit2004; <!--Do not use equality check to test for boolean conditions (https://xunit.github.io/xunit.analyzers/rules/xUnit2004.html)-->
  30. xUnit2009; <!--Do not use boolean check to check for substrings (https://xunit.github.io/xunit.analyzers/rules/xUnit2009.html)-->
  31. xUnit2013; <!--Do not use equality check to check for collection size. (https://xunit.github.io/xunit.analyzers/rules/xUnit2013.html)-->
  32. xUnit2015; <!--Do not use typeof expression to check the exception type (https://xunit.github.io/xunit.analyzers/rules/xUnit2015.html)-->
  33. xUnit2017 <!--Do not use Contains() to check if a value exists in a collection (https://xunit.github.io/xunit.analyzers/rules/xUnit2017.html)-->
  34. </NoWarn>
  35. </PropertyGroup>
  36. <ItemGroup>
  37. <PackageReference Include="FluentAssertions" Version="4.12.0" />
  38. <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.2" />
  39. <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
  40. <PackageReference Include="Moq" Version="4.9.0" />
  41. <PackageReference Include="xunit" Version="2.4.0" />
  42. <PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
  43. </ItemGroup>
  44. <ItemGroup>
  45. <ProjectReference Include="..\..\src\MongoDB.Bson\MongoDB.Bson.csproj" />
  46. <ProjectReference Include="..\..\src\MongoDB.Driver\MongoDB.Driver.csproj" />
  47. <ProjectReference Include="..\..\src\MongoDB.Driver.Core\MongoDB.Driver.Core.csproj" />
  48. <ProjectReference Include="..\..\src\MongoDB.Driver.Legacy\MongoDB.Driver.Legacy.csproj" />
  49. <ProjectReference Include="..\MongoDB.Bson.TestHelpers\MongoDB.Bson.TestHelpers.csproj" />
  50. <ProjectReference Include="..\MongoDB.Driver.TestHelpers\MongoDB.Driver.TestHelpers.csproj" />
  51. <ProjectReference Include="..\MongoDB.Driver.Core.TestHelpers\MongoDB.Driver.Core.TestHelpers.csproj" />
  52. <ProjectReference Include="..\MongoDB.Driver.Legacy.TestHelpers\MongoDB.Driver.Legacy.TestHelpers.csproj" />
  53. </ItemGroup>
  54. <ItemGroup>
  55. <None Update="xunit.runner.json">
  56. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  57. </None>
  58. </ItemGroup>
  59. </Project>