James Posted December 17, 2002 Posted December 17, 2002 Hi all, In the last couple of weeks I've been learning to use ASP.net. When I started learning, I used my PC as a web and sql server. Since more that one developer will be accessing the projects I've decided to setup another PC to be the web and sql server so the resources on my PC will not be used by other developers. I already have all my files in the virtual directory on the new server but I don't know how I can get my Visual Studio .net projects to point to the new server. Is there a way that I can change the server that my projects are connect to? I'm using Visual Studio.net Please help. James Quote
Moderators Robby Posted December 17, 2002 Moderators Posted December 17, 2002 You can map a drive to the server, but you won't be able to view/modify the Solution on 2 PCs at the same time unless you use Source Safe (Source Control). Quote Visit...Bassic Software
James Posted December 17, 2002 Author Posted December 17, 2002 I want the solution to stay on my PC. However, when I press the save button I want my files to also be updated on the server. I have a drive mapped but if I save the file it still saves to C:\inetpub\wwwroot\... instead of my map drive. When I open the solution I see that the project is connecting to the server on my PC. I want it to connect to the new server on another PC. Thanks, James Quote
Moderators Robby Posted December 17, 2002 Moderators Posted December 17, 2002 Right-click on the shorcut you use to open .NET, > properties > Start In. Place the path of the folder on the server into Start in. Quote Visit...Bassic Software
Moderators Robby Posted December 17, 2002 Moderators Posted December 17, 2002 or open (in .NET) menu item Tools > Options > Projects and Solutions > and change the project location. Quote Visit...Bassic Software
James Posted December 17, 2002 Author Posted December 17, 2002 I could not get it to work. I wasn't trying to save my solution file, just the files that are stored on the server. The only way to solve my problem is to create a new project and and have the server location point to the new server. Thanks, James Quote
James Posted December 17, 2002 Author Posted December 17, 2002 Ok, I found the solution. Open your solution file in notepad and change the server location at the top. James Quote
Moderators Robby Posted December 17, 2002 Moderators Posted December 17, 2002 Cool. I think I missunderstood the whole thing. Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.