Signing an assembly

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • GMiller

    Signing an assembly

    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 nameFullTrust

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

    Gary

  • =?Utf-8?B?cnZtYWNjb3VudA==?=

    #2
    RE: Signing an assembly

    following should work
    caspol -machine -addgroup All_Code -strong -file <your assembly path and
    name<assemblyna me <versionFullTru st
    -pub, is used if you have a certificate, whereas -strong is for strong name
    which is what you want.


    "GMiller" wrote:
    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 nameFullTrust
    >
    I've tried this but the new policy doesn't show up in the .NEt
    configuration tool.
    >
    Gary
    >
    >

    Comment

    Working...