I have a solution that needs to target both SQL Server 2014 and Microsoft Azure SQL database V12.
In my project settings, if I set the target platform to Azure, I cannot publish to a SQL Server - I get this error:
A project which specifies Microsoft Azure SQL Database v12 as the target platform cannot be published to SQL Server 2014.
If I set the target platform to SQL Server 2014 and try to publish to an Azure database, I get the inverse error.
Is there any way to publish to both platforms without having to change the project settings each time?
Please note that I am not trying to migrate. I need to support both flavors of database with my scripts.