Signing an assembly

G

GMiller

I'm trying to sign my assembly so that I can use the caspol.exe tool
to create a permissions set for it. This is my first experience
signing the assembly. In VS 2005 I went to properties->signing,
checked the "sign the assemply" box, clicked the "new" option, typed
in a name and password. Now when using the command line parameters
for the caspol do I simply use the following

caspol -machine -addgroup All_Code -pub -file <key name> FullTrust

I've tried this but the new policy doesn't show up in the .NEt
configuration tool.

Gary
 
G

Guest

following should work
caspol -machine -addgroup All_Code -strong -file <your assembly path and
name> <assemblyname> <version> FullTrust
-pub, is used if you have a certificate, whereas -strong is for strong name
which is what you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top