We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a15035 commit 897c950Copy full SHA for 897c950
src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Publish.targets
@@ -1281,7 +1281,7 @@ Copyright (c) .NET Foundation. All rights reserved.
1281
-->
1282
<UsingTask TaskName="Microsoft.NET.Build.Tasks.GetEmbeddedApphostPaths"
1283
AssemblyFile="$(MicrosoftNETBuildTasksAssembly)" />
1284
- <Target Name="ComputeEmbeddedApphostPaths">
+ <Target Name="ComputeEmbeddedApphostPaths" Condition="'$(PackAsTool)' == 'true'">
1285
1286
<ItemGroup>
1287
<_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)"/>
0 commit comments