27 lines
1.2 KiB
XML
27 lines
1.2 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<AnalysisLevel>latest-Recommended</AnalysisLevel>
|
|
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
|
|
<!-- NU1510: Channels is transitively pulled by SignalR but included in the framework - safe to suppress -->
|
|
<NoWarn>$(NoWarn);NU1903;NU1510;NU1603;NU1902;CA1848;CA1727;CA1861;CA1825;CA1873;MUD0002;CA1725</NoWarn>
|
|
<!-- Alpine workaround: no host package available for alpine.3.24-x64 -->
|
|
<UseAppHost>false</UseAppHost>
|
|
</PropertyGroup>
|
|
|
|
<!-- Internal libraries: never pack -->
|
|
<PropertyGroup Condition="'$(MSBuildProjectExtension)' == '.csproj' and '$(OutputType)' == 'Library' and !$(MSBuildProjectDirectory.Contains('tests'))">
|
|
<IsPackable>false</IsPackable>
|
|
</PropertyGroup>
|
|
|
|
<!-- Test projects -->
|
|
<PropertyGroup Condition="$(MSBuildProjectDirectory.Contains('tests'))">
|
|
<IsTestProject>true</IsTestProject>
|
|
<IsPackable>false</IsPackable>
|
|
<NoWarn>$(NoWarn);CA1707;CS0618;CS0619</NoWarn>
|
|
</PropertyGroup>
|
|
</Project>
|