Using application signing with ClickOnce deployment
If you’re planning on doing a ClickOnce deployment of your product, here are few simple instructions to include DicomObjects licence (*.lic) file within your deployment package:
Create a dummy placeholder and include in your solution. Change the Build Action property of your *.lic in VS to Content type. Change Copy to output directory setting to Copy if newer. Set your post build event as:
“\ApplicationSignerConsole.exe” “$(TargetPath)” [your key] [info1] [info2] copy “$(TargetPath).