简体   繁体   中英

VS 2008 Database Project missing Database References node

I have VS 2008 Pro (not VSTS DB edition) installed on my desktop and laptop, both running Windows 7, with SqlServer. When creating a Database Project on my desktop machine, the project structure includes a folders for. Database References which is crucial to the utility of a database project

However on my laptop, when creating a database project, the project structure lacks that folder and I can't find any way to manually add a reference to a database.

I should note that the Project Wizard prompts me for a database connection on both machines, it just doesn't seem to have any effect on my laptop. Any ideas what I'm missing to make Database Projects functional on my laptop? I'm stumped, both installs are fresh.

The short answer is... I'm an idiot. The slightly longer answer is that I had chosen the incorrect project type in the wizard on my laptop. I mistakenly chose New Project -> Visual C# -> SqlServer Project. The correct project type is New Project -> Other Project Types -> Database.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM