/tests/MongoDB.Driver.Core.Tests/MongoDB.Driver.Core.Tests.csproj
MSBuild | 73 lines | 62 code | 11 blank | 0 comment | 0 complexity | c5fbca5ae6384fac6315400523cc4190 MD5 | raw file
Possible License(s): Apache-2.0
- <Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <TargetFrameworks>netcoreapp1.1;netcoreapp2.1;net452</TargetFrameworks>
- <LangVersion>7.3</LangVersion>
- <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
- <WarningsAsErrors />
- <IsPackable>false</IsPackable>
- <CodeAnalysisRuleSet>..\..\MongoDBTest.ruleset</CodeAnalysisRuleSet>
- </PropertyGroup>
- <PropertyGroup>
- <AssemblyTitle>MongoDB.Driver.Core.Tests</AssemblyTitle>
- <Product>MongoDB.Driver.Core.Tests</Product>
- <Company>MongoDB Inc.</Company>
- <Copyright>Copyright © 2010-present MongoDB Inc.</Copyright>
- <Description>MongoDB.Driver.Core tests.</Description>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Version)'==''">
- <Version>0.0.0-local</Version>
- </PropertyGroup>
- <PropertyGroup>
- <DefineConstants>TRACE</DefineConstants>
- </PropertyGroup>
- <PropertyGroup>
- <NoWarn>
- 1701;1702; <!--https://github.com/dotnet/roslyn/issues/19640-->
- xUnit1000; <!--A class containing test methods is not public (https://xunit.github.io/xunit.analyzers/rules/xUnit1000.html)-->
- xUnit1010; <!--The value is not convertible to the method parameter type (https://xunit.github.io/xunit.analyzers/rules/xUnit1010.html)-->
- xUnit1013; <!--Public method should be marked as test (https://xunit.github.io/xunit.analyzers/rules/xUnit1013.html)-->
- xUnit1014; <!--MemberData should use nameof operator for member name (https://xunit.github.io/xunit.analyzers/rules/xUnit1014.html)-->
- xUnit1016; <!--MemberData must reference a public member (https://xunit.github.io/xunit.analyzers/rules/xUnit1016.html)-->
- xUnit1025; <!--InlineData should be unique within the Theory it belongs to (https://xunit.github.io/xunit.analyzers/rules/xUnit1025.html)-->
- xUnit1026 <!--Theory methods should use all of their parameters (https://xunit.github.io/xunit.analyzers/rules/xUnit1026.html)-->
- </NoWarn>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="FluentAssertions" Version="4.12.0" />
- <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.2" />
- <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
- <PackageReference Include="Moq" Version="4.9.0" />
- <PackageReference Include="System.Buffers" Version="4.4.0" />
- <PackageReference Include="xunit" Version="2.4.0" />
- <PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\src\MongoDB.Bson\MongoDB.Bson.csproj" />
- <ProjectReference Include="..\..\src\MongoDB.Driver.Core\MongoDB.Driver.Core.csproj" />
- <ProjectReference Include="..\MongoDB.Bson.Tests\MongoDB.Bson.Tests.csproj" />
- <ProjectReference Include="..\MongoDB.Bson.TestHelpers\MongoDB.Bson.TestHelpers.csproj" />
- <ProjectReference Include="..\MongoDB.Driver.Core.TestHelpers\MongoDB.Driver.Core.TestHelpers.csproj" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Specifications\**\tests\**\*.json" />
- </ItemGroup>
- <ItemGroup>
- <None Remove="Specifications\**\tests\**\*.json" />
- </ItemGroup>
- <ItemGroup>
- <None Update="xunit.runner.json">
- <CopyToOutputDirectory>Always</CopyToOutputDirectory>
- </None>
- </ItemGroup>
- </Project>