|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Trust an AssemblyI have created a C# .exe that is going to be run from a network drive. I
copied the .exe along with the required .DLLs to a directory on the network drive. I installed an icon on the user's desktop pointing to the .exe. When the user tries to run the app, they get an error. If I run the .Net Framework 1.1 wizard and click on 'trust an assembly' and drill down to the .exe on the network drive, everything is okay. How can I code this .exe or deployment package so that the assembly is trusted without having to go to each user's machine and run the .Net Framework wizard to trust the assembly? Thanks, -- Robert Hill Your network administrator must create and run an script using the
command-line caspol.exe utility of the .NET Framework to adjust the security for that assembly or folder. See the docs about that utility. -- Show quoteCarlos J. Quintero MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET You can code, design and document much faster. http://www.mztools.com "Robert" <rhill***@hotmail.com> escribió en el mensaje news:34D0F4C5-C639-42C5-8016-B845CC981508@microsoft.com... >I have created a C# .exe that is going to be run from a network drive. I > copied the .exe along with the required .DLLs to a directory on the > network > drive. I installed an icon on the user's desktop pointing to the .exe. > When > the user tries to run the app, they get an error. If I run the .Net > Framework > 1.1 wizard and click on 'trust an assembly' and drill down to the .exe on > the > network drive, everything is okay. > > How can I code this .exe or deployment package so that the assembly is > trusted without having to go to each user's machine and run the .Net > Framework wizard to trust the assembly? > > Thanks, > -- > Robert Hill >
Other interesting topics
|
|||||||||||||||||||||||