Implement NET8 server but without packaging capability.

This commit is contained in:
Burak Kaan Köse
2024-07-19 03:06:01 +02:00
parent 0cb39d41e8
commit 756cf5992c
22 changed files with 436 additions and 55 deletions

View File

@@ -6,11 +6,13 @@
<RootNamespace>Wino.Server</RootNamespace>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Platforms>x86;x64;ARM64</Platforms>
<SelfContained>true</SelfContained>
<RuntimeIdentifiers Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) &gt;= 8">win-x86;win-x64;win-arm64</RuntimeIdentifiers>
<RuntimeIdentifiers Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) &lt; 8">win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
<PublishProfile>win-$(Platform).pubxml</PublishProfile>
<UseWinUI>true</UseWinUI>
<EnableMsixTooling>true</EnableMsixTooling>
<DisableEmbeddedXbf>false</DisableEmbeddedXbf>
</PropertyGroup>
<!-- Disable XAML generated main to enable single activation. -->
@@ -34,12 +36,13 @@
</PropertyGroup>
<ItemGroup>
<Content Remove="Assets\Wino_Icon.ico" />
<None Remove="app.manifest" />
<None Remove="Assets\Wino_Icon.ico" />
<None Remove="TrayIconResources.xaml" />
</ItemGroup>
<ItemGroup>
<None Remove="app.manifest" />
<None Remove="TrayIconResources.xaml" />
<Page Remove="App.xaml" />
</ItemGroup>
<ItemGroup>
@@ -86,6 +89,10 @@
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<Folder Include="Styles\" />
</ItemGroup>
<!--
Defining the "HasPackageAndPublishMenuAddedByProject" property here allows the Solution