I put my vs2005 project files in a network drive (mounted by net use command). Then I encounter a problem of security exception. Visual studio gave me a security warning when I opened the project. It also brought trouble when I was trying to debug (F5).
The solution for this is adding the network drive as a trusted location.
caspol -m -ag 1 -url file://H:\* FullTrust
You may need to open Visual Studio 2005 Command Prompt to execute this command, otherwise, caspol may not be found.
--
Feng
没有评论:
发表评论