brutaldev / StrongNameSigner

Strong-name sign third party .NET assemblies without the source code.
https://brutaldev.com/post/net-assembly-strong-name-signer
Other
327 stars 68 forks source link

Disable signing packages #56

Closed fpavlic closed 4 years ago

fpavlic commented 4 years ago

Hi,

I'm using Brutal.Dev.StrongNameSigner Nuget package, had used "Before Build" process to sign un-signed packages. Those packages will not be updated that frequently so I would like to disable signing & checking.

Is there option to do that?

brutaldev commented 4 years ago

Currently no option for that, suppose this could be an environment variable that you set otherwise you will need to change your project settings all the time. Will think about it and put something in the next release.

fpavlic commented 4 years ago

@brutaldev either environment variable or setting in e.g. global.asax on application start. Could be helpful because I noticed increase in build time, even if those packages are already signed.

brutaldev commented 4 years ago

Added check for environment variable SNS_DISABLE_CONSOLE_SIGNING in version 2.6.0. Use the value true to skip signing (a warning will also appear in your log).