SSDT on Visual Studio 2012 broken then fixed, broken again also broken on VS2013

后端 未结 1 1960
一整个雨季
一整个雨季 2020-12-19 18:04

After installing Visual Studio 2012 Ultimate on Windows 8, SSDT via SQL Server Object Explorer did not work. The solution was to install the latest version of VS2012 from th

相关标签:
1条回答
  • 2020-12-19 18:44

    The clue is Data Source=(localdb)\Projects;

    EF 6.0.1 puts the databases here: Data Source=(localdb)\v11.0;

    Data Source=(localdb)\v11.0;
    Integrated Security=True;Connect Timeout=15;
    Encrypt=False;TrustServerCertificate=False
    

    in SSDT in vs2012/vs2013 [View, SQL Server Object Explorer],
    right-click the node "SQL Server", then click "Add SQL Server..."

    Type "(localdb)\v11.0" for the server name and click Connect.

    You should now see both "(localdb)\v11.0" and "(localdb)\Projects" in SQL Server Object Explorer.

    Your code first databases will be in the Databases node under "(localdb)\v11.0".

    FWIW, i have zero idea why Microsoft made this annoying change.

    0 讨论(0)
提交回复
热议问题