将Azure SDK从2.4升级到2.6后生成错误 [英] Build error after upgrade Azure SDK from 2.4 to 2.6
问题描述
我刚刚使用项目属性>应用程序下的升级功能将Web角色项目(和解决方案)从Azure SDK 2.4升级到Azure SDK 2.6.
I just upgraded my web role project (and solution) from Azure SDK 2.4 to Azure SDK 2.6 using the upgrade functionality under project properties > application.
当我构建应用程序时,一切正常,但是当我尝试运行它(并启动Azure仿真器等)时,如果我要继续进行构建错误,则单击否"时会出现以下错误:
When I am building my application, everything works well but when I try to run it (and start up the Azure emulator and such) it gives the following error when I click "NO" if I want to proceeed with build errors:
无法获取设置值参数名称:profileName
unable to get setting value Parameter name: profileName
请参阅构建输出:
仅此而已.当我打开输出时,找不到与此相关的任何内容.看来构建已成功完成.
Nothing more. When I open my output I can not find anything related to this. It looks like the build is done successfully.
如果我单击是",VS将显示以下消息:
If I click "YES" VS serves a popup with this message:
无法调试Microsoft Azure云服务项目.输出 目录"D:\ path \ to \ folder \ src \ project \ csx \ O"不存在.
Failed to debug the Microsoft Azure Cloud Service project. The output directory "D:\path\to\folder\src\project\csx\O" does not exist.
也许与模拟器有关?
有人可以帮忙吗?非常感谢!
Can some one help? Much appreciated!
推荐答案
我们也遇到了此问题.
即使您在运行/调试"设置中选择的服务配置"显示为"Dev.Local",您似乎也需要具有名为ServiceConfiguration.Local.cscfg
的服务配置,否则您将遇到此精确错误.
It appears that even if the Service Configuration you've selected in the Run/Debug settings is say, Dev.Local - you need to have a service configuration called ServiceConfiguration.Local.cscfg
or you'll encounter this precise error.
无论如何,一旦我们创建了一个名为ServiceConfiguration.Local.cscfg
的cscfg,即使我们没有引用它,该问题也就不再存在.
At any case, once we created a cscfg called ServiceConfiguration.Local.cscfg
this problem ceased, even though we were not referencing it.
这篇关于将Azure SDK从2.4升级到2.6后生成错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!