none
Web Project: Projects have recently been added to this solution..

    Question

  • We recently converted our web site project into a web application project.  Now, every time we open the project file I get the following message:
    "Projects have recently been added to this solution. Do you want to get them from source control?"

    Completely deleting the project from TFS and starting over is not an option, we have way too much work item history that is attached to the check ins. 

    Anyone have an idea how I can fix this?

    Thanks,
    Chris.
    Wednesday, May 31, 2006 5:09 PM

Answers

  •  

    OK, HERE is the REAL answer!

     

    http://technorati.com/posts/Yadz3Mj1pxHPSJLlnUs1tL1sIwU5jXa5rNBbIAnYdvs%3D

     

    You need to:

     

    Unbind the solutions/projectsfrom TFS

    Open the SLN file in notepad.

    ELIMINATE ALL the "GlobalSection(TeamFoundationVersionControl) = preSolution" sections...I had 3.

    Rebind the solution/all projects.

     

    We lost the "Projects have recently been added..." and another message "Could not read all properties.".  Everything looks good right now.

     

    -Mike

    Thursday, March 13, 2008 4:02 PM
  • You might try using File->Source Control->Change Source Control to unbind everything and then rebind it again.

    There have been a number of bug fixes related to the interoperability of source code control and the new VS 2005 Web Application Project.  These fixes should be part of Service Pack 1 for VS 2005.

    --Ben Ryan

    Wednesday, July 05, 2006 5:24 PM

All replies

  • You might try using File->Source Control->Change Source Control to unbind everything and then rebind it again.

    There have been a number of bug fixes related to the interoperability of source code control and the new VS 2005 Web Application Project.  These fixes should be part of Service Pack 1 for VS 2005.

    --Ben Ryan

    Wednesday, July 05, 2006 5:24 PM
  • For some reason last week the problem just went away.  We didn't rebind the solution.  Weird.

    Thanks.
    Wednesday, July 12, 2006 5:14 PM
  • We have the same problem, and rebinding and/or VS SP1 has not fixed it. We do have one Web Application Project as part of the solution; 2 web site projects, one a "web services" site; 1 "shell" project; and 40 or so library projects. I've tried to Google many times on this issue and haven't found any good answers. I'm using VS 2005 Team Suite with TFS. I've successfully installed VS Service Pack 1 and it still hasn't gone away. Ultimately I guess it doesn't affect us adversely except it's annoyance factor, but it'd be great to get the message to go away. Any new news on this issue? Also, after the solution loads, it gives "Some of the properties of the solution could not be read." Don't know if it's related.

     

    Any help is much appreciated.

     

    Thanks,

     

    - Jesse

    Thursday, June 14, 2007 7:31 PM
  • we are having the same problem.  Every time we open a solution it says that projects have recently been added would you like to get them even though we have not added projects in months. I tried the binding unbinding thing, but it didn't have any effect. Any ideas.
    Tuesday, July 03, 2007 2:11 PM
  • We are having the same problem. We also tried unbinding all the projects and rebinding but that didn't help unfortunately. Any suggestions?

     

    Tuesday, September 25, 2007 5:31 AM
  •  

    Same here.

     

    We have a solution with 60 projects in it.  Unbind/Bind did nothing.

     

    On a side note, how can this thread have an answer, when everyone reports that the "answer" fixed NOTHING?

     

    -Mike

    Thursday, March 13, 2008 3:21 PM
  •  

    OK, HERE is the REAL answer!

     

    http://technorati.com/posts/Yadz3Mj1pxHPSJLlnUs1tL1sIwU5jXa5rNBbIAnYdvs%3D

     

    You need to:

     

    Unbind the solutions/projectsfrom TFS

    Open the SLN file in notepad.

    ELIMINATE ALL the "GlobalSection(TeamFoundationVersionControl) = preSolution" sections...I had 3.

    Rebind the solution/all projects.

     

    We lost the "Projects have recently been added..." and another message "Could not read all properties.".  Everything looks good right now.

     

    -Mike

    Thursday, March 13, 2008 4:02 PM
  • Mike,

    I tried and it worked for me too. I had three of these as well.

    Thanks for this very helpful post.

    Tuesday, March 25, 2008 9:41 PM
  • Worked for me in 2012.  I believe the problem for me came when I moved a project to a different location in source.  I went through these steps and found the problematic project.  Once I found it, I undid all the changes and just fixed the path of the one project in the .sln file and it worked.

    David


    spdygnlz

    Monday, February 11, 2013 8:19 PM
  • Without opening the solution, I checked out the solution file using "Source Control Explorer". I then used a text editor and removed the section: "GlobalSection(TeamFoundationVersionControl) = preSolution". I was then able to open the solution with the message and without losing my Solution Folders and without having to exclude anything from source control. (VS2012)
    • Edited by RobertP2 Monday, July 29, 2013 5:59 PM Added VS Version
    Monday, July 29, 2013 5:59 PM
  • I removed "GlobalSection(TeamFoundationVersionControl) = preSolution" without Unbind the solutions/projectsfrom TFS and  everything looks good right now.
    Thursday, July 10, 2014 4:37 AM