My Writings. My Thoughts.

Solving Visual Studio’s trust issues

// April 8th, 2009 // .Net, Security, Troublesolving, Visual Studio

I use Subversion for all my code. I also like to keep my checked out code on a mapped network share since it has backup and is accessible from outside my main dev machine. With this setup you will sooner or later (probably sooner) run into the problem with Visual Studio not trusting the network share, and subsequently hitting you in the face and kicking you in the groin. To make our beloved studio behave more decent, I executed the following line of goodness into a Visual Studio Command Prompt:

caspol -machine -addgroup 1 -url file://h:/* FullTrust -name DevShare

This will put the mapped drive “h:” in the “Full Trust” group. Just replace the drive name (and perhaps choose another name than “DevShare”) with your specifics, and you should be good to go! Hopefully this will help someone. If not, you could check out the following post on StackOverflow.

5 Total TweetBacks: (Tweet this post)
  • en: When I see Sarah Palin in the top twitter topics, I can't help but think that she's either dead or she did something very boneheaded. 07/03/09 11:28pm
  • it: Truth or dare 07/03/09 11:28pm
  • en: I have to leave home in 5 hours, should i sleep a little or go watch some Closer episodes?... 07/03/09 11:28pm
  • en: @tommcfly You would think fans would get the news letter email or the myspace link with the official twitter links on it! 07/03/09 11:28pm
  • en: New phone in about 3 or 4 weeks. I think i'll name it Prince the 2nd in honor of my phone right now. :/ 07/03/09 11:28pm

Leave a Reply