PageRenderTime 48ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/tests/MongoDB.Driver.Core.Tests/MongoDB.Driver.Core.Tests.csproj

http://github.com/mongodb/mongo-csharp-driver
MSBuild | 73 lines | 62 code | 11 blank | 0 comment | 0 complexity | c5fbca5ae6384fac6315400523cc4190 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>..\..\MongoDBTest.ruleset</CodeAnalysisRuleSet>
  9. </PropertyGroup>
  10. <PropertyGroup>
  11. <AssemblyTitle>MongoDB.Driver.Core.Tests</AssemblyTitle>
  12. <Product>MongoDB.Driver.Core.Tests</Product>
  13. <Company>MongoDB Inc.</Company>
  14. <Copyright>Copyright © 2010-present MongoDB Inc.</Copyright>
  15. <Description>MongoDB.Driver.Core 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. xUnit1000; <!--A class containing test methods is not public (https://xunit.github.io/xunit.analyzers/rules/xUnit1000.html)-->
  27. xUnit1010; <!--The value is not convertible to the method parameter type (https://xunit.github.io/xunit.analyzers/rules/xUnit1010.html)-->
  28. xUnit1013; <!--Public method should be marked as test (https://xunit.github.io/xunit.analyzers/rules/xUnit1013.html)-->
  29. xUnit1014; <!--MemberData should use nameof operator for member name (https://xunit.github.io/xunit.analyzers/rules/xUnit1014.html)-->
  30. xUnit1016; <!--MemberData must reference a public member (https://xunit.github.io/xunit.analyzers/rules/xUnit1016.html)-->
  31. xUnit1025; <!--InlineData should be unique within the Theory it belongs to (https://xunit.github.io/xunit.analyzers/rules/xUnit1025.html)-->
  32. xUnit1026 <!--Theory methods should use all of their parameters (https://xunit.github.io/xunit.analyzers/rules/xUnit1026.html)-->
  33. </NoWarn>
  34. </PropertyGroup>
  35. <ItemGroup>
  36. <PackageReference Include="FluentAssertions" Version="4.12.0" />
  37. <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.2" />
  38. <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
  39. <PackageReference Include="Moq" Version="4.9.0" />
  40. <PackageReference Include="System.Buffers" Version="4.4.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.Core\MongoDB.Driver.Core.csproj" />
  47. <ProjectReference Include="..\MongoDB.Bson.Tests\MongoDB.Bson.Tests.csproj" />
  48. <ProjectReference Include="..\MongoDB.Bson.TestHelpers\MongoDB.Bson.TestHelpers.csproj" />
  49. <ProjectReference Include="..\MongoDB.Driver.Core.TestHelpers\MongoDB.Driver.Core.TestHelpers.csproj" />
  50. </ItemGroup>
  51. <ItemGroup>
  52. <EmbeddedResource Include="Specifications\**\tests\**\*.json" />
  53. </ItemGroup>
  54. <ItemGroup>
  55. <None Remove="Specifications\**\tests\**\*.json" />
  56. </ItemGroup>
  57. <ItemGroup>
  58. <None Update="xunit.runner.json">
  59. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  60. </None>
  61. </ItemGroup>
  62. </Project>