SOS in VS2003 - Problems adding web project

If you are having a problem using SourceOffSite, post a message here.

Moderator: SourceGear

Post Reply
Sniipe
Posts: 8
Joined: Wed Apr 25, 2007 10:51 am

SOS in VS2003 - Problems adding web project

Post by Sniipe » Wed Jul 04, 2007 7:27 am

Hello all,

No matter how many times I try my working directory keeps on reverting back to c:\inetpub\wwwroot\projectName

In SOS the standalone client I have it down as c:\projects\projectName. But VS keeps putting it back into wwwroot.

What do I need to do to make it go to the right directory. I have 3 other solutions going to the right folder, but this is a web project...

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Thu Jul 05, 2007 8:04 am

When it comes to source code control with Visual Studio, it's important to remember that VS is the one with the control. In order to change the working folder with IDE integration it must be done through VS.

The easiest way to deal with this that I know if is to:
1) Open the project in VS.
2) Go to File - Source Control - Change Source Control
3) Unbind the entire project.
4) Close out and save the entire VS project.
5) Perform a fresh open from source control. For web projects, you would go to File - Open - Web Project and then select the source control button on your left. If you have a solution, you can perform a File - Source Control - Open from Source Control.
6) During that opening, you will see a path listed in the dialog boxes. That path is going to be your working folder set by VS. Adjust that path as needed.

Post Reply