Visual Studio 2015 SQL Server Data Tools missing “Add Table” option

萝らか妹 提交于 2019-11-28 04:22:39

问题


I have added a localdb to my project and trying to add tables to it. But I could not see 'Add Table' item on the menu, there are only 'Refresh' and 'Properties' items. According to the Microsoft SSDT is coming preloaded with VS2015, but there is no option to add a new table. Am I missing something?


回答1:


I have added a localdb to my project and trying to add tables to it. But I could not see 'Add Table' item on the menu, there are only 'Refresh' and 'Properties' items.

To resolve the issue :

Go to Control Panel and try repair the software.

Do not forget to reboot the machine .




回答2:


Instead of using "Server Explorer", use "View-->SQL Server Object Explorer".

Alternatively you could create an SSDT project, add your tables to the project and then deploy, that would be the correct way to do it! Ed




回答3:


Even tough I did the repair and rebooted, still I would not get "Add New Table" I verified that the installation (change, modify) had "Microsoft SQL Server Data Tools" selected.

I solved the issue by installing the latest version of "Microsoft SQL Server Data Tools" separately. https://msdn.microsoft.com/en-us/library/mt204009.aspx • Download SSDT Product Release for Visual Studio 2012 (link) I installed the package and rebooted the computer. I opened the project, and I was able to select "Add New Table" :-)



来源:https://stackoverflow.com/questions/31241617/visual-studio-2015-sql-server-data-tools-missing-add-table-option

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!