I work for the CS department of an educational institution where each student's "My Documents" folder is redirected to a network share. Their profiles are deleted after they log off, so we encourage them to use this share to store projects and whatnot instead of saving to the local machine. Our classic problem with this has been the CAS policy's distrust of network shares. In VS 2008 and earlier, running caspol would allow us to set up a trust relationship:E.G: caspol.exe -m -pp off -ag 1.2 -url file://\\UNC\path\* FullTrustHowever, when we upgraded to VS2010, this command no longer worked. I've spent a bunch of time exploring VS config files and looking into the loadFromRemoteSources element, but I've been without any luck. I've tried inserting loadFromRemoteSources enabled="true" into the runtime elements of the following config files without success:%systemroot%\Microsoft.NET\Framework\v4.0.30319\Config\machine.config%programfiles%\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe.config\\UNCProjectLocation\WindowsApplication\App.configNo matter what I try I still get the "You should only open projects from a trustworthy source" message box when I create a new application or open an application that is stored on our local intranet.We also get a message a build time when a project is stored on a network location. It states "The following module was built either with optimizations enabled or without debug information". I’m not sure if this has to do with a trust issue, or if our settings are incorrect, but when I move the project to a local drive the message disappears. I have only tested this with simple VB.NET based Windows forms, and have not tried building anything that accesses information outside of itself yet, but I'd imagine that would be hindered by not being considered "fully trusted"
Visual Studio/Silverlight/Tooling version
What category (if any) best represents this feedback?
Steps to reproduce
Operating System Language