mikefourie-zz / MSBuildExtensionPack

MIT License
366 stars 104 forks source link

SignTool task #92

Open NN--- opened 5 years ago

NN--- commented 5 years ago

Add SignTool task to the package: https://gist.github.com/gregmac/4cfacea5aaf702365724

BlackFrog1 commented 5 years ago

It's already in the code:

https://github.com/mikefourie/MSBuildExtensionPack/blob/de9b1170464747f6ea811c81812f06baae32530f/Solutions/Main/Framework/Framework/Signing.cs#L1-L4

NN--- commented 5 years ago

How do I specify PFX file like in the gist ?

       <SignTool  SignFiles="@(SignFiles)"  
          PfxFile="cert.pfx" PfxPassword="$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\MyCompanyDev@cert.pfx)" 
TimestampServer="$(SignToolTimestampServers)" />