Skip to content

Commit

Permalink
Sign Visual Studio 2022 VSIX package
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Nov 30, 2021
1 parent ad6abad commit b28e4b7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions IceBuilder.Next/IceBuilder.Next.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,11 @@
<Import Project="..\IceBuilder.Shared\IceBuilder.Shared.projitems" Label="Shared" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
<Target Name="AfterCompile" Condition="Exists('$(SIGN_CERTIFICATE)')" DependsOnTargets="CoreCompile">
<Exec Command="$(SignCommand) obj\$(Configuration)\IceBuilder.Next.dll" />
</Target>
<Target Name="SignPackage" AfterTargets="CreateVsixContainer" Condition="Exists('$(SIGN_CERTIFICATE)')">
<Message Text="Signing $(TargetVsixContainer)" />
<Exec Command="$(VsixSignCommand) $(TargetVsixContainer)" />
</Target>
</Project>

0 comments on commit b28e4b7

Please sign in to comment.