我正在创建一个Windows Azure服务并添加了一个辅助角色。我在Visual Studio 2013 RC中创建它。当我打开我的worker角色的属性时,会出现以下错误:
Unable to Import Module Diagnostics. No menifest was found
ServiceDefinition.csdef中
<Imports>
<Import moduleName="Diagnostics" />
</Imports>
<Startup priority="-2">
<Task commandLine="Microsoft.WindowsAzure.Caching\ClientPerfCountersInstaller.exe install" executionContext="elevated" taskType="simple" />
</Startup>
<ConfigurationSettings>
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" />
<Setting name="Microsoft.WindowsAzure.Plugins.Caching.ClientDiagnosticLevel"/>
</ConfigurationSettings>
</WorkerRole>
答案 0 :(得分:2)
通过修复我的VS版本的Windows Azure Tools的安装,我修复了它。