在azure box(kudu)上安装azure sdk

gz5pxeao  于 2021-06-20  发布在  Kudu
关注(0)|答案(1)|浏览(535)

我正在使用kudu在windowsazure上从源位置设置部署。
项目无法生成,并显示以下消息:

  1. D:\home\site\repository\CliniscanAzure\CliniscanAzure.ccproj(62,3): error MSB4019:
  2. The imported project "D:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\
  3. Windows Azure Tools\2.4\Microsoft.WindowsAzure.targets" was not found. Confirm that
  4. 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的解决方案是否正确?如果是,正确的方法是什么?我看不到任何方法可以将特定的安装添加到我的部署脚本中。

vjhs03f7

vjhs03f71#

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

相关问题