» home » forums

trusting .net projects from a network location tags:  visual studio, .net, help desk

misterhaan
radar
subject:  trusting .net projects from a network location
posted:  1:02:06 pm, oct 30, 2008

i keep all my source code on hecubus, which means windows workstations running visual studio see that source code as a network location.  i think it knows it’s local intranet, but that group isn’t trusted enough by default to let you do such things as develop a project in visual studio.

for visual studio 2005, there was a .net framework 2.0 configuration control panel under administrative tools.  i think it got installed as part of the .net 2.0 sdk.  i used that to give full trust to local intranet, as my local intranet is just me and my wife.

with visual studio 2008, i don’t have any such control panel, so i have to manually add trust for the location of my .net source code.  that’s done using caspol.exe, found in %windir%\Micrsoft.NET\Framework\v2.0.50727\.  it’s a command-line utility, which on windows means it’s difficult to find out how to use it.  i managed to get this sort of command to work:

%windir%\Microsoft.NET\Framework\v2.0.50727\caspol -m -ag 1.2 -url file:///X:\path\to\source\* FullTrust

the 1.2 makes perfect sense, wouldn’t you agree?

please note that the above post is likely made up in its entirety.

add a reply

posting asanonymous (log in or register)

nearby pages

users online

2 guests

user list

statistics

hits today599
registered users184
forum posts408
comments153

powered by

  • dreamhost
  • linux
  • apache
  • php
  • mysql