PageRenderTime 25ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/tests/MongoDB.Bson.Tests/MongoDB.Bson.Tests.csproj

http://github.com/mongodb/mongo-csharp-driver
MSBuild | 76 lines | 64 code | 12 blank | 0 comment | 0 complexity | aa82f56dd56f74a03655f048ba21f0b1 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.Bson.Tests</AssemblyTitle>
  12. <Product>MongoDB.Bson.Tests</Product>
  13. <Company>MongoDB Inc.</Company>
  14. <Copyright>Copyright © 2010-present MongoDB Inc.</Copyright>
  15. <Description>MongoDB.Bson 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. xUnit1026; <!--Theory methods should use all of their parameters (https://xunit.github.io/xunit.analyzers/rules/xUnit1026.html)-->
  28. xUnit2000; <!--Constants and literals should be the expected argument (https://xunit.github.io/xunit.analyzers/rules/xUnit2000.html-->
  29. xUnit2003; <!--Do not use equality check to test for null value (https://xunit.github.io/xunit.analyzers/rules/xUnit2003.html-->
  30. xUnit2004; <!--Do not use equality check to test for boolean conditions (https://xunit.github.io/xunit.analyzers/rules/xUnit2004.html)-->
  31. xUnit2005; <!--Do not use identity check on value type (https://xunit.github.io/xunit.analyzers/rules/xUnit205.html-->
  32. xUnit2009; <!--Do not use boolean check to check for substrings (https://xunit.github.io/xunit.analyzers/rules/xUnit2009.html)-->
  33. xUnit2012; <!--Do not use Enumerable.Any() to check if a value exists in a collection (https://xunit.github.io/xunit.analyzers/rules/xUnit2012.html)-->
  34. xUnit2013; <!--Do not use equality check to check for collection size. (https://xunit.github.io/xunit.analyzers/rules/xUnit2013.html)-->
  35. xUnit2017 <!--Do not use Contains() to check if a value exists in a collection (https://xunit.github.io/xunit.analyzers/rules/xUnit2017.html)-->
  36. </NoWarn>
  37. </PropertyGroup>
  38. <ItemGroup>
  39. <Reference Include="Microsoft.CSharp" />
  40. </ItemGroup>
  41. <ItemGroup>
  42. <PackageReference Include="FluentAssertions" Version="4.12.0" />
  43. <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.2" />
  44. <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
  45. <PackageReference Include="Moq" Version="4.9.0" />
  46. <PackageReference Include="xunit" Version="2.4.0" />
  47. <PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
  48. </ItemGroup>
  49. <ItemGroup>
  50. <ProjectReference Include="..\..\src\MongoDB.Bson\MongoDB.Bson.csproj" />
  51. <ProjectReference Include="..\MongoDB.Bson.TestHelpers\MongoDB.Bson.TestHelpers.csproj" />
  52. </ItemGroup>
  53. <ItemGroup>
  54. <EmbeddedResource Include="Specifications\**\tests\**\*.json" />
  55. </ItemGroup>
  56. <ItemGroup>
  57. <None Remove="Specifications\**\tests\**\*.json" />
  58. </ItemGroup>
  59. <ItemGroup>
  60. <None Update="xunit.runner.json">
  61. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  62. </None>
  63. </ItemGroup>
  64. </Project>