76 lines
3.4 KiB
XML
76 lines
3.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net7.0-windows10.0.19041.0</TargetFramework>
|
|
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
|
|
<RootNamespace>RustTools</RootNamespace>
|
|
<Platform>x64</Platform>
|
|
<Platforms>x86;x64;arm64</Platforms>
|
|
<EnablePreviewMsixTooling>true</EnablePreviewMsixTooling>
|
|
|
|
<!--<WindowsPackageType>None</WindowsPackageType>-->
|
|
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
|
|
<RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<UseWinUI>true</UseWinUI>
|
|
<EnableMsixTooling>true</EnableMsixTooling>
|
|
<AssemblyName>RustTools</AssemblyName>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
<PackageIcon>tool.png</PackageIcon>
|
|
<ApplicationIcon>Assets\WindowIcon.ico</ApplicationIcon>
|
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
|
<DefaultLanguage>zh-cn</DefaultLanguage>
|
|
|
|
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
|
|
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
|
|
<PackageCertificateThumbprint>3386EC79D3BB9691D0A8DA634167500B242E109D</PackageCertificateThumbprint>
|
|
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
|
|
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
|
|
<AppxSymbolPackageEnabled>False</AppxSymbolPackageEnabled>
|
|
<GenerateTestArtifacts>True</GenerateTestArtifacts>
|
|
<AppxBundle>Never</AppxBundle>
|
|
<AppxPackageDir>D:\RustTools</AppxPackageDir>
|
|
</PropertyGroup>
|
|
|
|
<!--<Target Name="RemoveFoldersWithMuiFiles" AfterTargets="Build">
|
|
<ItemGroup>
|
|
<RemovingFiles Include="$(OutDir)*\*.mui" Exclude="$(OutDir)en-us\*.mui" />
|
|
<RemovingFolders Include="@(RemovingFiles->'%(RootDir)%(Directory)')" />
|
|
</ItemGroup>
|
|
<RemoveDir Directories="@(RemovingFolders)" />
|
|
</Target>-->
|
|
|
|
<ItemGroup>
|
|
|
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.1.0" />
|
|
|
|
<PackageReference Include="CommunityToolkit.WinUI.Controls.Sizers" Version="8.0.240109" />
|
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.1" />
|
|
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.4.231008000" />
|
|
<PackageReference Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="2.0.9" />
|
|
<PackageReference Include="RestClient" Version="3.1024.23771" />
|
|
<PackageReference Include="RestSharp" Version="111.4.0" />
|
|
<PackageReference Include="squirrel.windows" Version="2.0.1" />
|
|
<PackageReference Include="System.Management" Version="8.0.0" />
|
|
<PackageReference Include="WinUIEx" Version="2.3.2" />
|
|
|
|
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.7" />
|
|
<!--<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240227000" />-->
|
|
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.3233" />
|
|
|
|
<Manifest Include="$(ApplicationManifest)" />
|
|
</ItemGroup>
|
|
|
|
<!--在vs code 中必须加上不然没有任何图标-->
|
|
<ItemGroup>
|
|
<Content Include="Assets\**">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
|
|
<ProjectCapability Include="Msix" />
|
|
</ItemGroup>
|
|
|
|
</Project> |