2014-09-29 103 views
0

我使用kudu在Windows Azure上從源代碼設置部署。在Azure框上安裝Azure SDK(kudu)

該項目構建失敗,以下消息:

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 \微軟\ VisualStudio的\ v12.0 \「存在,但不是Windows Azure Tools子目錄。

在我的目標盒上安裝Azure 2.4 SDK是否正確?如果是這樣,那麼正確的方法是什麼?我看不出有什麼辦法可以將該特定安裝添加到我的部署腳本中。

回答

1

我相信這個目標文件涉及到部署雲服務,這與網站有很大不同。有了網站,你根本不需要這個依賴關係。

+0

你知道,試圖部署雲服務作爲Azure上的一個網站與kudu有多遠... – 2014-10-01 14:40:41

+0

我想我從來沒有嘗試過。 :)但網站的一個關鍵設計目標是它不需要任何這些特殊的Cloud Service庫,並且您只需使用「常規」應用程序即可。 – 2014-10-01 18:00:11