The type initializer for 'Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment' threw an exception

后端 未结 3 1181
忘了有多久
忘了有多久 2020-12-17 01:55

I am trying to use Windows Azure Caching to store sessions in a MVC4 application. I build a application following steps from Link but when i try to make object of DataCache

3条回答
  •  没有蜡笔的小新
    2020-12-17 02:10

    I had the same issue. The solution was to point all referenced Azure assemblies in every project to the same source (for me the dlls in the SDK folder). The NuGetManager copies the dlls into the main project path under packages and points the references to these dlls.

提交回复
热议问题