locked
JavaScript Metro applications don't support source control (TFS)

    Question

  • When attempting to create a new JavaScript Metro application and add it to TFS, I get the following error:

    The following projects cannot be added to source control because either these project types don't support source control integration or the projects are unavailable at this time:

    C:\Code\WinWebApp1\WinWebApp1.wwaproj

    I have to get latest manually and check out the files manually. Is there a way to get JavaScript Metro applications to support TFS?

    Thursday, December 08, 2011 10:37 PM

Answers

  • Hi James,

    unfortunately, this is a known issue with the Visual Studio Developer Preview.  In the vs11devpreviewreadme

     

    2.4.5.1 WWA projects do not support source control

    Windows Web Applications (WWA) projects (also known as Metro style app projects) cannot be managed under source control in Visual Studio 11 Developer Preview. However, these projects can be managed under other source control systems.

    To resolve this issue:

    There is no workaround.

    For now, you'll need to use the tf command or Power Tools to check out the files manually as you mentioned.  This behavior will change in future releases.

     

    much appreciated,

    mike

    • Marked as answer by Bob_Bao Tuesday, December 27, 2011 7:22 AM
    • Unmarked as answer by Bob_Bao Tuesday, December 27, 2011 7:22 AM
    • Marked as answer by James Costello Tuesday, January 24, 2012 11:40 PM
    Friday, December 09, 2011 5:39 PM
    Moderator

All replies

  • Hello James Costello,

     

    This thread was created in the Windows Developer Preview: General OS forum; the Microsoft Moderation team has moved this thread to the Building Metro style apps with HTML5/JavaScript forum.


    Steven
    Friday, December 09, 2011 4:46 PM
  • Hi James,

    unfortunately, this is a known issue with the Visual Studio Developer Preview.  In the vs11devpreviewreadme

     

    2.4.5.1 WWA projects do not support source control

    Windows Web Applications (WWA) projects (also known as Metro style app projects) cannot be managed under source control in Visual Studio 11 Developer Preview. However, these projects can be managed under other source control systems.

    To resolve this issue:

    There is no workaround.

    For now, you'll need to use the tf command or Power Tools to check out the files manually as you mentioned.  This behavior will change in future releases.

     

    much appreciated,

    mike

    • Marked as answer by Bob_Bao Tuesday, December 27, 2011 7:22 AM
    • Unmarked as answer by Bob_Bao Tuesday, December 27, 2011 7:22 AM
    • Marked as answer by James Costello Tuesday, January 24, 2012 11:40 PM
    Friday, December 09, 2011 5:39 PM
    Moderator