“The script file could not be found” error when publishing SSDT projects

For some reason I started getting the following error when trying to publish one of my database projects in my SSDT solution.

Image

To stop this you need to unload the project in question and delete the .dbmdl file in the project local working folder.  Then reload the project.

Advertisements

2 thoughts on ““The script file could not be found” error when publishing SSDT projects

  1. Life saver! I accidentally “Deploy”ed the database project instead of “Publish”ing it and then I could not Publish anymore with the same error as above. Once I followed these instructions, I no longer even see the Deploy menu option…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s