How to disable Visual Studio automatic deploy
christianacca
Posts: 24 Bronze 1
I would like to turn off / disable the automatic deploy of the migrations when visual studio starts / builds. I don't see an option for this. Please advice how I can do this.
Motivation:
The application deploys migrations as part of the application startup logic (using the embedded migration options). The automatic deployment in Visual Studio conflicts with this.
Thanks
Christian
Motivation:
The application deploys migrations as part of the application startup logic (using the embedded migration options). The automatic deployment in Visual Studio conflicts with this.
Thanks
Christian
Comments
I think the solution is to configure VS NOT to start the database project when pressing F5!
I'm glad to hear you figured out with our help!
May I also suggest unchecking the Deploy column for your ReadyRoll project(s) in the solution configuration dialog, just in case someone accidentally sets the ReadyRoll projects as the startup project:
Product Manager
Redgate Software
Thanks
Product Manager
Redgate Software