Files
Heimdall/Directory.Build.props
T
Arnaud Dartois 015711e156 fix(build): keep UseAppHost=false global for Alpine compatibility
Reverts per-project scoping from previous commit — Alpine build env
needs this globally because even Debug mode tries to create a native
host. The 4 Docker-published projects also inherit it from the global
Directory.Build.props.

Proper long-term fix: build CI on non-Alpine image, or set
UseAppHost=false only in Dockerfile publish args via /p flag.
2026-07-17 19:24:00 +00:00

26 lines
1.0 KiB
XML

<Project>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AnalysisLevel>latest-Recommended</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<NoWarn>$(NoWarn);NU1903;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>