Files
Heimdall/Directory.Build.props
T

27 lines
1.2 KiB
XML
Raw Normal View History

<Project>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AnalysisLevel>latest-Recommended</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<!-- NU1510: System.Threading.Channels is pulled transitively by Microsoft.AspNetCore.SignalR.Client
on net10.0 but is already included in the framework -- safe to suppress. -->
<NoWarn>$(NoWarn);NU1903;NU1510;CA1848;CA1727;CA1861;CA1825;CA1873;MUD0002</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</NoWarn>
</PropertyGroup>
</Project>