.net alternatives

by Michel Grootjans
posts - 51, comments - 84, trackbacks - 1

My Links

News

Shelfari: Book reviews on your book blog

Twitter












Archives

Post Categories

The Web at "http://localhost/myProject" already contains a project.

Damn, I got this annoying "The Web at http://localhost/myProject" already contains a project." from VSS again. I found this useful help on how to fix this with a little .sln hack (original forum: http://www.relisoft.com/forums/index.php?showtopic=52).

I'm quoting here, but this worked fine for me:

1. You need to manually edit the sln file.
- Remove the information about the problematic project. Find and delete these 4 lines :
SccProjectUniqueName1 =
http://localhost/SolutionName/SolutionName.csproj
SccLocalPath1 = .
CanCheckoutShared = true
SccProjectEnlistmentChoice1 = 2

- Also decrement the SccNumberOfProjects value by 1.

2. Open the sln in the VS. It will put out some dialogs with complains, but don't care about them now.
3. Go to File.Source Control.Change Source Control dialog. Select the problematic project and Bind it (using the Bind button). VS will make all necessary changes to the sln file.

Allthough my context was a little different, it worked fine all the same. My solution had three web projects (one website, and two webservices). All three of them gave me the same problem, but editing exactly as stated above solved the problem for me.

Print | posted on Monday, April 10, 2006 7:57 AM |

Feedback

Gravatar

# re: The Web at "http://localhost/myProject" already contains a project.

There's a better workaround:

Delete your local files in the working directory
Create your website in IIS, but leave it EMPTY!
Then, through VS, get the code from Source Safe
and it should open correctly now.
4/10/2008 7:17 AM | jon
Gravatar

# re: The Web at "http://localhost/myProject" already contains a project.

You are the only one workable solution that I can find in internet!!
Great Job~
6/4/2008 10:03 PM | Vincent
Gravatar

# re: The Web at "http://localhost/myProject" already contains a project.

Thank you.
Deleted everything to do with source control that had a project number after it and opened the project. Fixed the bindings and I'm running again.
Although the configuration items are not the same my Team Foundation Server project worked fine.
Using this method.
7/22/2009 3:20 AM | Tim Wappat
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 

Powered by: