microsoft / vscode-azuretools

Common packages for building Azure extensions for VS Code
MIT License
106 stars 67 forks source link

dev: Add ddsignfiles wrapper #1774

Closed alexweininger closed 3 months ago

alexweininger commented 3 months ago

This file is a wrapper around the DDSignFiles.dll tool that is present in pipelines that have signing setup and enabled. It has been copied from source because it's easier than consuming an npm package. We can use this js helper to sign files with a js script in each extension instead of requiring a .csproj and building it with MSBuild. I think I'd rather stay in the nodejs world if we can.

bwateratmsft commented 3 months ago

Docker and several others do not use the dev package. Can we put this in the pipelines instead?

alexweininger commented 3 months ago

Docker and several others do not use the dev package. Can we put this in the pipelines instead?

Rats. The pipelines folder isn't currently published as a package. Do you know if I include this script in the pipelines folder if it will be accessible within a pipeline run that depends on the templates? I'll try it out.

alexweininger commented 3 months ago

I'm starting to think it might just be easier to use MSBuild and write a csproj file into each repo 😢. Let me try that out too.