[英]Not Supported on Windows Azure Machine
我剛剛將我的項目升級到 Azure 2.6 SDK。 我的角色從模擬器開始,它們似乎工作正常。 在我的構建日志中,我看到以下消息:
C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0\\Windows Azure Tools\\2.6\\Microsoft.WindowsAzure.targets(2695,5):警告 WAT250:項目“{0}”針對“{1” }' 在 Microsoft Azure 虛擬機上不受支持 (OSFamily = '{2}')。 要確保角色啟動,請更新服務配置文件“{3}”中的“osFamily”屬性。 有關更多信息,請參閱http://go.microsoft.com/fwlink/?LinkId=262840 。
這是我的 CFG 文件:
<ServiceConfiguration serviceName="CloudService1" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="3" osVersion="*" schemaVersion="2015-04.2.6">
我應該做些什么嗎?
此鏈接包含 osFamily 信息。 在撰寫本文時:
這是有關升級過程的文檔。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.