Visual Studio 2015 exception SqlScriptPreprocessSqlVariables when running web publish wizard with update database
问题 Update: I have reproduced the same Error with a new empty VS2015 WebApplication project. Added a connectionString to a new empty SQL database Added a sql-script file to the solution and selected publish... in the publish wizard. Example of web Publish wizard with included Update script. I will get the same error building a web deployment package or web deploy . Original post: The "SqlScriptPreprocessSqlVariables" task failed unexpectedly. This happens when I use publishing wizard or MSBuild