Skip to content

Commit

Permalink
chore: Add IsExecutable condition
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Aug 12, 2024
1 parent 3e0bd64 commit 45f4b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.Sdk/targets/Uno.SingleProject.WinAppSdk.targets
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<_SingleProjectHostArchitecture>$(_SingleProjectHostArchitecture.ToLower())</_SingleProjectHostArchitecture>
<Platform>$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)</Platform>
<RuntimeIdentifier>win-$(_SingleProjectHostArchitecture)</RuntimeIdentifier>
<PublishProfile Condition=" $(PublishProfile) == '' ">win-$(Platform).pubxml</PublishProfile>
<PublishProfile Condition="$(PublishProfile) == '' and $(_IsExecutable) == 'true'">win-$(Platform).pubxml</PublishProfile>
</PropertyGroup>

<Target Name="EnsureDefaultPlatformForAnyCPU"
Expand Down

0 comments on commit 45f4b82

Please sign in to comment.