Sunday, November 9, 2008

caspol

caspol.exe is located in the following directory:

LocalDrive:\Windows\Microsoft.Net\Framework\v2.0.50727\

Use the following command to put an assembly to the trust:

caspol.exe -u -addgroup All_Code -url "\*" FullTrust -name "Your Assembly Name"

c:\Windows\Microsoft.Net\Framework\v2.0.50727\ -addgroup All_Code -url "\*" FullTrust -name assemblyname

1 comment:

Noel said...

actual
C:\Program Files\Microsoft Visual Studio 8\VC>caspol -u -addgroup All_Code -url
"c:\Program Files\gruggreu\Outlook Add-in" FullTrust -name fwewrwlookintegrator.dll