本文介绍了如何在构建服务器上构建.sqlproj项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有很多需要在我们的构建服务器上构建的.sqlproj项目。我不想将所有Visual Studio都安装在构建服务器上,所以我可以安装SSDT来构建它们。在没有完整的VS安装的情况下如何构建.sqlproj项目?
I have many .sqlproj projects that need to be built on our build server. I don't want to install all of Visual Studio on the build server just so I can install SSDT to build these. How can I build .sqlproj projects without a full VS install?
这是在尝试不安装SSDT的情况下在构建服务器上遇到的原始错误:
Here's the raw error I get on the build server when trying to build without SSDT intstalled:
C:\MyProject\MyProj.sqlproj (4): The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
推荐答案
答案:现在是Microsoft具有(请参见 | )
- Install dacframework.msi (x86|x64)
- Install SQLDOM.MSI (x86|x64)
- Install SQLLS.MSI (x86|x64)
- Install SQLSysClrTypes.msi (x86|x64)
- Install SSDTBuildUtilities.msi (from the "Administrator Install Point" as setup in step 3 here)
完成!
来源:。
这篇关于如何在构建服务器上构建.sqlproj项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!