【问题标题】:Installing Azure SDK on an Azure box (kudu)在 Azure 盒子 (kudu) 上安装 Azure SDK
【发布时间】:2014-09-29 19:57:30
【问题描述】:

我正在使用 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 的正确解决方案是什么?如果是这样,那么正确的方法是什么?我看不到任何方法可以将该特定安装添加到我的部署脚本中。

【问题讨论】:

    标签: azure continuous-deployment kudu


    【解决方案1】:

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

    【讨论】:

    • 您知道,尝试使用 kudu 在 Azure 上将云服务部署为网站,您能走多远……
    • 我想我从未尝试过。 :) 但是网站的一个关键设计目标是它不需要任何那些特殊的云服务库,您可以使用“常规”应用程序。
    猜你喜欢
    • 1970-01-01
    • 2014-10-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-12-12
    • 1970-01-01
    相关资源
    最近更新 更多