mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
23 lines
1.0 KiB
XML
23 lines
1.0 KiB
XML
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|||
|
|
<Import Project="..\Common.Dotnet.CsWinRT.props" />
|
|||
|
|
<Import Project="..\Common.SelfContained.props" />
|
|||
|
|
<PropertyGroup>
|
|||
|
|
<OutputType>WinExe</OutputType>
|
|||
|
|
<Description>PowerToys Runner</Description>
|
|||
|
|
<AssemblyName>PowerToys.Update</AssemblyName>
|
|||
|
|
<OutputPath>..\..\$(Platform)\$(Configuration)</OutputPath>
|
|||
|
|
<Nullable>enable</Nullable>
|
|||
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|||
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
|||
|
|
<PublishAot>true</PublishAot>
|
|||
|
|
<PublishSingleFile>true</PublishSingleFile>
|
|||
|
|
</PropertyGroup>
|
|||
|
|
|
|||
|
|
<PropertyGroup>
|
|||
|
|
<_IsPublishing Condition="'$(_IsPublishing)'==''">false</_IsPublishing>
|
|||
|
|
</PropertyGroup>
|
|||
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(_IsPublishing)'!='true'">
|
|||
|
|
<Exec Command="dotnet publish "$(ProjectPath)" -c $(Configuration) -r $(RuntimeIdentifier) --self-contained -o "$(OutputPath)"" />
|
|||
|
|
</Target>
|
|||
|
|
</Project>
|