配置错误升级从Azure的1.6〜1.7 [英] Configuration Errors upgrading from Azure 1.6 to 1.7
问题描述
我想从2010年1.6迁移到Visual Studio 2012和Azure的1.7。当我升级我的工作人员的项目,我现在越来越像一堆错误的:
I am trying to migrate to Visual Studio 2012 and Azure 1.7 from 2010 and 1.6. When I upgraded my worker project, I am now getting a bunch of errors like:
CloudServices58:'反恶意软件无法加载命名导入模块
CloudServices58 : Cannot load imported module named 'Antimalware.'
这让我想起这Microsoft.WindowsAzure.targets:
Which brings me to this in Microsoft.WindowsAzure.targets:
<Target Name="PreValidateServiceModel">
<ValidateServiceFiles
AllowLegacyWebRoles="$(AllowLegacyWebRoles)"
ServiceDefinitionFile="@(SourceServiceDefinition)"
ServiceConfigurationFile="@(SourceServiceConfiguration)">
</ValidateServiceFiles>
</Target>
在我cscfg文件中的错误是这样的:
And errors like this in my cscfg file:
设置
Microsoft.WindowsAzure.Plugins.Antimalware.ServiceLocation'的角色
MyProject.ProcessLogs在服务配置文件中指定,
但它没有在服务定义文件中声明
The setting 'Microsoft.WindowsAzure.Plugins.Antimalware.ServiceLocation' for role MyProject.ProcessLogs is specified in the service configuration file, but it is not declared in the service definition file.
错误使我到这里:
<ConfigurationSettings>
<...stuff.../>
<Setting name="Microsoft.WindowsAzure.Plugins.Antimalware.ServiceLocation" value="" />
<Setting name="Microsoft.WindowsAzure.Plugins.Antimalware.EnableAntimalware" value="" />
<Setting name="Microsoft.WindowsAzure.Plugins.Antimalware.EnableRealtimeProtection" value="" />
<Setting name="Microsoft.WindowsAzure.Plugins.Antimalware.EnableWeeklyScheduledScans" value="" />
<Setting name="Microsoft.WindowsAzure.Plugins.Antimalware.DayForWeeklyScheduledScans" value="" />
<Setting name="Microsoft.WindowsAzure.Plugins.Antimalware.TimeForWeeklyScheduledScans" value="" />
<Setting name="Microsoft.WindowsAzure.Plugins.Antimalware.ExcludedExtensions" value="" />
<Setting name="Microsoft.WindowsAzure.Plugins.Antimalware.ExcludedPaths" value="" />
<Setting name="Microsoft.WindowsAzure.Plugins.Antimalware.ExcludedProcesses" value="" />
</ConfigurationSettings>
我是pretty失去,任何想法?
I am pretty lost, any ideas?
推荐答案
我只需要下载并安装此:的 http://www.microsoft.com/en-us/download/details.aspx?id=29209
I just needed to download and install this: http://www.microsoft.com/en-us/download/details.aspx?id=29209
这篇关于配置错误升级从Azure的1.6〜1.7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!