feat: Add build workflow for Windows Avalonia with Docker support
This commit is contained in:
parent
0d6435520b
commit
3ddaf31340
2 changed files with 149 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
<!-- Default assembly name for regular builds -->
|
||||
<AssemblyName>ImageCatalog</AssemblyName>
|
||||
<LangVersion>default</LangVersion>
|
||||
<AvaloniaWindowsCrossPublish Condition="'$(AvaloniaWindowsCrossPublish)' == ''">false</AvaloniaWindowsCrossPublish>
|
||||
</PropertyGroup>
|
||||
<!-- Windows: net10.0-windows TFM auto-defines WINDOWS preprocessor symbol -->
|
||||
<PropertyGroup Condition="$([MSBuild]::IsOsPlatform('Windows'))">
|
||||
|
|
@ -20,6 +21,15 @@
|
|||
<TargetFramework>net10.0</TargetFramework>
|
||||
<OutputType>Exe</OutputType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(AvaloniaWindowsCrossPublish)' == 'true'">
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RuntimeIdentifier Condition="'$(RuntimeIdentifier)' == ''">win-x64</RuntimeIdentifier>
|
||||
<UseAppHost>true</UseAppHost>
|
||||
<SelfContained Condition="'$(SelfContained)' == ''">true</SelfContained>
|
||||
<PublishSingleFile Condition="'$(PublishSingleFile)' == ''">true</PublishSingleFile>
|
||||
<PublishTrimmed Condition="'$(PublishTrimmed)' == ''">false</PublishTrimmed>
|
||||
<PublishReadyToRun Condition="'$(PublishReadyToRun)' == ''">false</PublishReadyToRun>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<!-- Keep MinVer package enabled but do NOT let it overwrite AssemblyVersion/FileVersion used at build-time.
|
||||
This prevents MinVer from injecting a computed version into generated BAML/pack URIs which can cause
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue