If you try and use a Visual Studio (including VS C#) project that ison a network drive, there is a very good chance you will be met with amessage warning you that the location is not trusted. After that, somethings will not work with the project, no matter how hard you try.There is a way to raise the permissions level in the .NET settings sothat network drives are trusted. After this Visual Studio will trustthe network location and allow you to work from a network drive.
Note: You will need to be logged in as an administrator on the computer for this to work.
I am writing this for Windows XP and so this will need to be trnaslated if it is going to work on Windows Vista or Windows 7.
I have my Control Panel in Classic view (not catagory view). If youhave control panel in Catagory view, change it to classic view (seeimage below). You can easily switch between both views.
Lets get into it:
Firstly, go to the control panel and go into "Administrative Tools".
Next go into the "Microsoft .NET Configuration". (The latest I haveis version 2.0, but if you do not have that version, choose another one).
That will have opened up a window. Click on"Runtime Security Policy".
Then right-click on it and choose "Adjust Security".
The radio button should be on "Make changes to this computer", make sure that is the case and click "Next >". If it is not the case, and is as greyed out, you are not logged in as the administrator.
Click on "Local Intranet". You may notice that the slider is below "Full Trust".
Slide it up to "Full Trust".
Hit "Next >" then Click "Finish". It should be done. If youchanged the Control Panel to Classic view for this guide, change itback (where there was the option to switch to classic view, there willbe an option to change it back) andit should be done.
Try accessing you project on the network drive to test. If sucessful, it shold not come up with messages warning you that the location is not trusted.
| < Prev | Next > |
|---|














