为我提供了Visual Studio 2013 Azure云服务的代码。 我在Visual Studio 2017中打开了SLN,这使我转换为Microsoft Azure Tools Ver 2.9(从V2.3开始)
角色有一个黄色三角形。当选择角色下的条目的属性时,出现错误:无效的服务定义或服务配置。
我有构建错误,例如
无法加载名为“缓存”的导入模块。
角色xx的设置'Microsoft.WindowsAzure.Plugins.Caching.CacheSizePercentage'在服务配置文件中指定,但未在服务定义文件中声明。
所以我将Microsoft.windowsazure.caching nuget从2.3.1升级到了2.9.5,但是仍然出现错误。
我找到了这个维基Azure: Build error "CloudServices58 : Cannot load imported module named 'Caching.' " after updating Azure SDK2.9-上面写着“此NuGet程序包只能与Windows Azure缓存的Windows Azure SDK 2.9版一起使用”。我还能看什么吗?