Search code examples
visual-studio-2010visual-studio-2012visual-studio-dbpro

Build->Deploy doesn't work for database projects


I have a database project in Visual Studio 2012. When selecting "Deploy MyDBProj" on the Build menu nothing happens.

When I hit F5 to debug however, the database project is deployed, using the settings in the debug section of the database project properties. This is enabled in by checking the "deploy" checkbox in the solution's configuration manager.

I would like to be able to do a deploy, without starting a debug session. How do I do that?

Note: This is not publishing, which is something else. I want to know how to manually initiate the deploy that is part of the build process. Since the deploy is already done automatically it should be possible to initiate it manually too.


Solution

  • I got an answer from Microsoft at MS Connect:

    There was a bug in the version of SSDT that shipped in Visual Studio 2012 in wuich the Deploy menu command appears but is a no-op. This has since been fixed and is available in the latest version of SSDT: http://msdn.microsoft.com/en-us/data/hh297027