mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00

* Turn on TreatWarningsAsError for Release build - Break Api intentionally * Fix Api * Treat warnings as errors no matter the configuration
35 lines
1.7 KiB
XML
35 lines
1.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<IsPackable>false</IsPackable>
|
|
<RootNamespace>Bit.Core.Test</RootNamespace>
|
|
<!-- Temp exclusions until warnings are fixed -->
|
|
<WarningsNotAsErrors>$(WarningsNotAsErrors);CS4014</WarningsNotAsErrors>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="coverlet.collector" Version="$(CoverletCollectorVersion)">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(MicrosoftNetTestSdkVersion)" />
|
|
<PackageReference Include="NSubstitute" Version="$(NSubstituteVersion)" />
|
|
<PackageReference Include="xunit" Version="$(XUnitVersion)" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="$(XUnitRunnerVisualStudioVersion)">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="AutoFixture.Xunit2" Version="$(AutoFixtureXUnit2Version)" />
|
|
<PackageReference Include="AutoFixture.AutoNSubstitute" Version="$(AutoFixtureAutoNSubstituteVersion)" />
|
|
<PackageReference Include="Kralizek.AutoFixture.Extensions.MockHttp" Version="2.1.0" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\Core\Core.csproj" />
|
|
<ProjectReference Include="..\Common\Common.csproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Remove="Utilities\data\embeddedResource.txt" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Utilities\data\embeddedResource.txt" />
|
|
</ItemGroup>
|
|
</Project>
|