all groups > dotnet security > august 2004 >
You're in the

dotnet security

group:

Adding a trust from the command line


Adding a trust from the command line Greg Smith
8/27/2004 5:45:01 AM
dotnet security:
I run an application off a network share. Every time I release a new version
of the application, users have to run the Framework wizard and trust the
version of the application. I would like to automate this with a command
file and re-trust all the assemblies. Is there a security tool that will
take command-line arguments so I can accomplish this?

Any help is greatly appreciated.
Re: Adding a trust from the command line Nicole Calinoiu
8/27/2004 9:01:36 AM
Caspol.exe
(http://msdn.microsoft.com/library/en-us/cptools/html/cpgrfCodeAccessSecurityPolicyUtilityCaspolexe.asp)
is the command line tool for altering the security policy. However, you
might find it more convenient to use an alternate deployment mechanism for
your policy modifications. See
http://msdn.microsoft.com/library/en-us/cpguide/html/cpcondeployingsecuritypolicy.asp
for some other options.

HTH,
Nicole



[quoted text, click to view]

AddThis Social Bookmark Button