Tuesday 9 November 2010

Working with visual studio projects over unc paths

I've forever been working with local copies and then forgetting to copy them back to my central repository (I know I should use SVN or something similar)

Anyway just come across the following command that now allow's me to leave them alone on the network (I'm adding this here for myself and not any one else that may one day venture across this post - Probably when Visual Studio 2012 is released!)


%windir%\Microsoft.NET\Framework\v2.0.50727\caspol.exe -m -ag 1 -url "file:////\\computername\sharename\*" FullTrust -exclusive on

Obviously you need to change the computername and share name bits!