When I publish my DB in in Visual Studio, my script does not publish.
Advertisement
Answer
Right click on the script. Select Properties. Look at the Build Action. Choose Build.
Try to publish again.
Also make sure you edit the DB csproj in and change from NONE to BUILD:
- right click the DB project
- unload project
- right click the DB project
- edit project
- change the script property from NONE to BUILD.