There have been many times where I found myself copying a project source code to various computers within our home/office. We were weighing whether we needed to have a source control solution to bypass the file copies, which became a redundant nightmare to keep synchronized. So I was finally prompted to set up a local network for serving the Visual Studio Projects, so that each computer in my network could access the solution at will. This does not keep in mind that there may be conflicts if multiple people are changing the same files at the same time, but hey, we just have to yell across the room that we are using that solution. Anyways, the real challenge was presented when I upgraded my Windows Server 2003 development instance (which also hosted our local network) to Vista Ultimate. Everything was great, except that I decided to use the 64 Bit version of Vista (which kicks butt!) and the only thing that wouldn't install was Infragistics, becuase the installer did not like 64 bit for some reason (compile it for x86 dummies!). So I was stuck. I needed to access the files from the server, but i needed to use a little Origami Samsung Q1 touchscreen tablet, because I had Visual Studio 2005 and Infragistics installed on there already.. So I proceeded to make the folder that my VS.Net solution lived in into a Shared Folder, granting myself full access rights. I would need to login to the server from the tablet PC, as myself, so I know this is secured. Next step is to go to the client PC (which has VS 2005 and Infragistics installed) and follow these steps to create a FullTrust Share:
To give a file share FullTrust permission
-
Start Mscorcfg.msc (open up the .NET 2 Configuration Tool from Control Panel > Administrative Tools > .Net Framework Configuration
-
Expand the Runtime Security Policy node, the Machine node, the Code Groups node, and the All_Code node, and then highlight the LocalIntranet_Zone node.
-
In the right pane, click Add a Child Code Group.
-
Choose Create a new code group, enter a name for the code group, and then click Next.
-
Choose a condition type of URL, and enter the UNC path to the share location of your project, using the format file://\\servername\sharename\* where \\servername\sharename is the name of the share. Click Next.
Note |
|
Make sure to add the asterisk at the end of the path.
|
-
Choose Use existing permission set and select FullTrust, and then click Next.
-
Click Finish.
-
Restart Visual Studio.
you should be able to open the project bt double clicking on the .sln file after browsing to the network share folder.