我正在DacPac
使用 Visual Studio 从数据库项目构建文件。此外,在 DebugDrop
选项卡中Advanced Build Settings
,我启用了以下选项:
- 不要丢弃凭据
- 不要删除数据库角色
- 不要删除数据库范围的凭据
- 不要放弃登录
- 不要放弃权限
- 不要放弃角色成员资格
- 不要放弃用户
- 不要删除服务器角色成员资格
根据 Krzysztof Madej 的建议进行编辑 ,我提出了以下附加论点(他们正在研究另一个项目),但对于论点,他提出了,对于这些我得到了这个错误:
is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.