|
|
|
@ -23,6 +23,10 @@
|
|
|
|
|
<ProwlarrProject Condition="$(MSBuildProjectName.StartsWith('Prowlarr'))">true</ProwlarrProject>
|
|
|
|
|
<ProwlarrProject Condition="$(MSBuildProjectName.StartsWith('ServiceInstall'))">true</ProwlarrProject>
|
|
|
|
|
<ProwlarrProject Condition="$(MSBuildProjectName.StartsWith('ServiceUninstall'))">true</ProwlarrProject>
|
|
|
|
|
|
|
|
|
|
<!-- A test project gets the test sdk packages automatically added -->
|
|
|
|
|
<TestProject>false</TestProject>
|
|
|
|
|
<TestProject Condition="$(MSBuildProjectName.EndsWith('.Test'))">true</TestProject>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
@ -87,6 +91,15 @@
|
|
|
|
|
<!-- FXCop Built into Net5 SDK now as NETAnalyzers, Enabled by default on net5 projects -->
|
|
|
|
|
<EnableNETAnalyzers>false</EnableNETAnalyzers>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<!-- Standard testing packages -->
|
|
|
|
|
<ItemGroup Condition="'$(TestProject)'=='true'">
|
|
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
|
|
|
|
|
<PackageReference Include="NUnit" Version="3.13.1" />
|
|
|
|
|
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
|
|
|
|
|
<PackageReference Include="NunitXml.TestLogger" Version="3.0.97" />
|
|
|
|
|
<PackageReference Include="coverlet.collector" Version="3.0.4-preview.27.ge7cb7c3b40" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<!-- Set up stylecop -->
|
|
|
|
|
<ItemGroup Condition="'$(ProwlarrProject)'=='true' and '$(EnableAnalyzers)'!='false'">
|
|
|
|
|