publish && assets reset; Remove:slnx

This commit is contained in:
Steven Hobs
2026-02-13 10:32:28 +08:00
parent 5904b03264
commit 8811ba92a7
11 changed files with 16 additions and 19 deletions

35
WinUI.csproj Normal file
View File

@@ -0,0 +1,35 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net10.0-windows10.0.26100.0</TargetFramework>
<TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
<Platforms>x64</Platforms>
<RootNamespace>MyApp</RootNamespace>
<!-- WinUI属性 -->
<UseWinUI>true</UseWinUI>
<WindowsPackageType>None</WindowsPackageType>
<!-- 程序定义 -->
<AssemblyName>PureWinUI</AssemblyName>
<ApplicationManifest>app.manifest</ApplicationManifest>
<ApplicationIcon>Assets\Logo\app.ico</ApplicationIcon>
<SatelliteResourceLanguages>zh,en</SatelliteResourceLanguages>
<!-- 其他 -->
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<IsPackable>false</IsPackable>
<ImplicitUsings>false</ImplicitUsings>
<RunAnalyzersDuringBuild>False</RunAnalyzersDuringBuild>
<EnableMsixTooling>true</EnableMsixTooling>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="*" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="*" />
<PackageReference Include="WinUIEx" Version="*" />
</ItemGroup>
<ItemGroup>
<Folder Include="Pages\" />
</ItemGroup>
<ItemGroup>
<Content Include="Assets\**\*.*" CopyToOutputDirectory="PreserveNewest"/>
</ItemGroup>
</Project>