Reputation: 295
For my database project, I put the tick on the Create script (.sql file) in my Project Settings. And Target Platform is set to SQL Server 2008. I have SQL Server 2012 installed on my machine. But the script its generating only works in SQL Server 2012, doesn't work in SQL 2008 at all. Is there a way to generate the script for SQL Server 2008? I'm surprised it's using whatever is installed locally and ignoring the Target Platform setting.
Upvotes: 0
Views: 107
Reputation: 1702
I have a deployment contributor which removes those invalid options. You can get it here: http://scardevblog.blogspot.com/2015/03/ssdt-generates-2012-option-for-target.html
Upvotes: 1