Discussion MVC Application and Test project does not play nice with source control

  • Wednesday, January 09, 2008 1:03 PM
     
     
    Hi there,
    I've created an MVC Application and Test project and added the solution to Team Foundation 2005 server. When I open the solution Visual Studio 2008 informs me:

    "The project 'MvcApplicationTest' is under source control. This version of Visual Studio .NET does not support source controlled projects. Any changes that you make to this project will not be propagated to source control."

    Very strange as I've also added a class library project to the solution which works with source control just fine and as I'd expect.

    If I Unload and Reload the Test project it is then added to source control as expected and VS 2008 integrates nicely. When I close the solution and reopen it the behaviour returns to the above.

    The obvious workaround would be to create my own test project, which I've tried, BUT I can't add a reference to System.Web.Extensions 3.6.0.0 - it doesn't appear in the .Net component list. It's in the GAC though, I can see it. V strange.

    Any advice which would help me out with either of these two issues would be much appreciated!

All Replies

  • Monday, January 14, 2008 9:32 PM
    Moderator
     
     

    Hi Andrew,

     

    Sounds like something isn't quite right with your source control bindings for your solution file.  A couple of questions:

    • Is it only the test project that is not included in version control?  I.e. are the other projects in the solution in version control?
    • You said you are using VS2008 with TFS 2005.  Do you know what version of Team Explorer you are using?

    I'm also going to loop in some others that might have better insight into the solution binding problem

     

    Matt

  • Tuesday, January 29, 2008 10:22 AM
     
     

    Hello Andrew,

     

      We are changing the issue type to “Comment” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by editing your initial post and changing the radio button at the top of the post editor window. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.
     Thanks!

     

  • Monday, May 05, 2008 11:02 AM
     
     

    I can confirm either the same or a related (same message and behaviour) problem with a pure 2008 setup. It works fine on my Windows XP, but on another team members machine running Vista we get this message for an SQL classes (user-defined functions) project. None of the other websites, class libraries or database projects are affected.

  • Wednesday, May 28, 2008 3:03 PM
     
     

     

    I have the same issue. It was working fine for the last 3 months.

    O/s is Windows 2003 serv, VS 2008 and Team Explorer 2008. I get the below errors.

     

    "The project "Web" is under source control. This version of Visual Studio .Net does not support source controlled projects. Any changes that you make to this project will not be propagated to source control."

     


    Unexpected error encountered. It is recommended that you restart the application as soon as possible
    Error: No such interface supported
    File: vsee\internal\inc\vscomptr.inl
    Line number: 256


    One or more projects in the solution could not be loaded for the following reason(s):
    The application for the project is not installed.
    These projects will be labeled as unavailable in Solution Explorer. Expand the project node to show the reason the project could not be loaded.

    I tried reinstalling VS 2008 and Team Explorer, I still get the error.

     

    Thanks,

  • Friday, August 06, 2010 5:50 PM
     
     

    Hi,

    I have same problem as Krushnak described. Please help me out to over this error.

    Thanks,

    Imran

  • Friday, August 26, 2011 5:35 PM
     
     

    Since there doesn't seem to be an answer to this problem on this thread, I'm posting the answer I found:

    The Source Explorer window showed a “TeamFoundation” entry with an X-ed out symbol beside it.  The Output window showed the error:

     

    Package Load Failure: Package 'Microsoft.VisualStudio.TeamFoundation.VersionControl.HatPackage, Microsoft.VisualStudio.TeamFoundation.VersionControl, Version=8.0.0.0, Culture=neutral, PublicKeyToken=<>' has failed to load properly....

     

    And if I tried to open a source-controlled project, like "ABC", I got a dialog stating:

     

    The project ‘ABC' is under source control. This version of Visual Studio .NET does not support source controlled projects. Any changes that you make to this project will not be propagated to source control.

     

    The solution to this problem is to locate your Visual Studio 2008 development environment executable at the Command Prompt (it’s at C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe by default) and type:

     

    devenv /resetskippkgs

     

    This solution is suggested at the end of the error given in the Output window.

     

  • Tuesday, November 08, 2011 3:17 AM
     
      Has Code
  • Thursday, April 05, 2012 8:00 PM
     
     
    This is the solution that worked for me.  Thanks ShawnML!