a.k.a. 'I want to develop .NET projects on a remote drive!'
Will not be too detailed - doing this from memory.
1. Ensure the site's .webinfo or .csproj file contains the path to the HTTP path to the UNC share.
e.g. You have it on \\192.168.1.2\w$\dev\projects, where the webroot is pointing to \dev
The path in the above files should be http://192.168.1.2/projects/
2. Open up your .NET security configuration tool (in control panel). This should work for 1.1. and 2.0.
3. Go to Runtime Security Policy; Code Trust.
4. Under Local Intranet, add a new code group.
5. Call it dev server or whatever.
6. Select URL, and enter file://192.168.1.2/w$/dev/projects/*
7. Select Full Trust.
8. Save, and be sure to RESTART visual studio.
9. Success will be evident if VS doesn't complain about the project existing in a non-trusted area.
Leave me a comment if you need any more info/help.
No comments:
Post a Comment