microsoft / theme-converter-for-vs

CLI tool that allows you to convert your VS Code color theme to a VS 2022 color theme.
MIT License
484 stars 48 forks source link

Update pipeline for authenticode and strong name signing #125

Closed huguesv closed 2 years ago

huguesv commented 2 years ago

By default, commit and pr builds use test signing (to avoid wasting signing server resources).

SignType and _TeamName variables are defined in ADO pipeline.

To queue a signed build for a release, go to the pipeline on ADO, click Run pipeline, click Variables, click SignType, change the value from test to real. Click Update. Close the Variables page and click Run.

The published artifact will have a ThemeConverter-<version>.zip file with signed binaries.

This suppresses "CS8002 Referenced assembly does not have a strong name" because Mono.Options.dll does not have a strong name. It is safe to do so for .NET 5.

Here's the difference between test (left) and real signing (right): image