You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.9 KiB
48 lines
1.9 KiB
<Project>
|
|
<PropertyGroup>
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<WarningLevel>9999</WarningLevel>
|
|
<!-- <TreatWarningsAsErrors>true</TreatWarningsAsErrors> -->
|
|
<DebugType>embedded</DebugType>
|
|
<!--
|
|
Rider does not support `AllEnabledByDefault` yet. See:
|
|
https://youtrack.jetbrains.com/issue/RIDER-55142
|
|
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
|
|
-->
|
|
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
|
<GitVersionBaseDirectory>$(MSBuildThisFileDirectory)</GitVersionBaseDirectory>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
|
|
<_Parameter1>$(AssemblyName).Tests</_Parameter1>
|
|
</AssemblyAttribute>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="JetBrains.Annotations" PrivateAssets="All"/>
|
|
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" PrivateAssets="All"/>
|
|
<PackageReference Include="Nerdbank.GitVersioning" PrivateAssets="All" Condition=" '$(DisableNbgv)' != 'true' "/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="$(ProjectName.EndsWith('.Tests'))">
|
|
<PackageReference Include="AutofacContrib.NSubstitute" />
|
|
<PackageReference Include="FluentAssertions.Json" />
|
|
<PackageReference Include="FluentAssertions" />
|
|
<PackageReference Include="GitHubActionsTestLogger" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" />
|
|
<PackageReference Include="NSubstitute.Analyzers.CSharp" />
|
|
<PackageReference Include="NSubstitute" />
|
|
<PackageReference Include="NUnit.Analyzers" />
|
|
<PackageReference Include="NUnit" />
|
|
<PackageReference Include="NUnit3TestAdapter" />
|
|
<PackageReference Include="Serilog.Sinks.NUnit" />
|
|
<PackageReference Include="Serilog.Sinks.TestCorrelator" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="$(ProjectName.EndsWith('.Tests'))">
|
|
<EmbeddedResource Include="**\Data\*" />
|
|
</ItemGroup>
|
|
</Project>
|