Skip to content

Commit

Permalink
Adding vsix signing. (#12758)
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-mcmanus authored Sep 27, 2024
1 parent c65b11b commit b70f156
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Build/signing/SignVsix.proj
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="SignFiles" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="packages\Microsoft.VisualStudioEng.MicroBuild.Core.0.4.1\build\Microsoft.VisualStudioEng.MicroBuild.Core.props" />

<PropertyGroup>
<BaseOutputDirectory>$(BUILD_STAGINGDIRECTORY)</BaseOutputDirectory>
<!-- These properties are required by MicroBuild, which only signs files that are under these paths -->
<IntermediateOutputPath>$(BaseOutputDirectory)</IntermediateOutputPath>
<OutDir>$(BaseOutputDirectory)</OutDir>
</PropertyGroup>

<ItemGroup>
<FilesToSign Include="$(OutDir)\vsix\cpptools-*.signature.p7s">
<Authenticode>VSCodePublisher</Authenticode>
</FilesToSign>
</ItemGroup>

<Import Project="packages\Microsoft.VisualStudioEng.MicroBuild.Core.0.4.1\build\Microsoft.VisualStudioEng.MicroBuild.Core.targets" />
</Project>

1 comment on commit b70f156

@KEVINE4277
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

j'adore ça

Please sign in to comment.