0

我正在使用 kudu 从 Windows Azure 上的源代码设置部署。

该项目无法构建,并显示以下消息:

D:\home\site\repository\CliniscanAzure\CliniscanAzure.ccproj(62,3): error MSB4019: 
The imported project "D:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\
Windows Azure Tools\2.4\Microsoft.WindowsAzure.targets" was not found. Confirm that 
the path in the <Import> declaration is correct, and that the file exists on disk.

使用目标框上的诊断控制台,我可以看到“D:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\”存在,但不存在 Windows Azure Tools 子目录。

在我的目标机器上安装 Azure 2.4 SDK 是正确的解决方案吗?如果是这样,那么正确的方法是什么?我看不到任何方法可以将该特定安装添加到我的部署脚本中。

4

1 回答 1

1

我相信这个目标文件与部署云服务有关,这与网站有很大不同。使用网站,您根本不需要这种依赖关系。

于 2014-09-30T01:19:46.190 回答