我一直在尝试部署我的一个数据库项目,但收到了一些错误,例如找不到链接服务器等。但是这些错误是可以的,我想继续进行部署。
那么,有什么可以忽略的部署错误吗?
请注意,我的项目正在成功构建
最佳答案
如所述here
You can turn that prompt on/off in your Visual Studio settings:
- From the "Tools" menu, select "Options".
- In the dialog that appears, expand "Projects and Solutions", and click "Build and Run".
On the right side, you'll see a combo box labeled "On Run, when build or deployment errors occur".
- If you want to disable the message box, select either "Do not launch" or "Launch old version" (which will launch the old version automatically).
- If you want to enable the message box, select "Prompt to launch" which will ask you each time.
Of course, as people have suggested in the comments, this means that your code has errors in it somewhere that are preventing it from compiling. You need to use the "Error List" to figure out what those errors are, and then fix them.
关于sql-server - 发布时Visual Studio数据库项目忽略错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59245323/