locked
VS 2012 Database Project not saving references. RRS feed

  • Question

  • Hello,

    When I create a database project in Visual Studio 2012 and add references like System.Data and System.Data.Linq, save and close the solution.  When I open the solution all references are gone.

    Thank You,

    Dave

    Thursday, March 28, 2013 2:58 PM

Answers

  • Hi Dave,

    Could you build your project now? How about creating the same app in other machines?

    If it worked well in other machines, I’m afraid that you would check your VS environment.

    As my understanding, if you add the references successfully, it will not have this issue.

    To make sure that it is not the VS settings issue. Please run the following steps in command line.

    Devenv.exe /ResetSettings: Restores the IDE's default settings, optionally resets to the specified VSSettings file.

    Devenv.exe /ResetAddin: Removes commands and command UI associated with the specified Add-in.

    Devenv.exe /ResetSkipPkgs: Clears all SkipLoading tags added to VSPackages.

    And then, create a new database project, check it again. Hope it could help.

    Best Regards,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, March 29, 2013 10:12 AM
    Moderator