Skip to content

Commit

Permalink
Do not attempt to sign Microsoft.Build.UnGAC.exe on dotnet core msbui…
Browse files Browse the repository at this point in the history
…ld (#10672)

The VS targets aren't imported or executed on .net core msbuild, and so this file is not available to be signed.
  • Loading branch information
mmitche committed Sep 17, 2024
1 parent 332df0e commit 5bab860
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eng/Signing.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<Project>
<ItemGroup>
<ItemsToSign Include="$(VisualStudioSetupInsertionPath)Microsoft.Build.UnGAC.exe" />
<!-- Do not include VS setup insertion files when not building on desktop. The Vsix generation targets do not get imported,
and thus this file is not populated to VisualStudioSetupInsertionPath -->
<ItemsToSign Include="$(VisualStudioSetupInsertionPath)Microsoft.Build.UnGAC.exe" Condition="'$(MSBuildRuntimeType)' != 'Core'" />

<ItemsToSign Include="$(ArtifactsDir)\xsd\Update-MSBuildXsds.ps1" />

Expand Down

0 comments on commit 5bab860

Please sign in to comment.