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!)
Anyway:
%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!
I try to specialise in doing the out of the ordinary stuff (A Challenge!) - And generally making life as easy as possible using any of the technologies within reach without having to re-invent the wheel where possible! Technologies and products can include -> .NET, VBS, Powershell, DSC, Systems Center, NetApp, VMWare, Windows Server, Linux, Python, Microcontrollers and others!
No comments:
Post a Comment