Azure-Functions
Azure-Functions copied to clipboard
System.TypeLoadException: 'Could not load type 'System.Web.Hosting.HostingEnvironment'
Creating bug on behalf of the VS customer.
More details available here - https://developercommunity.visualstudio.com/content/problem/715105/systemtypeloadexception-could-not-load-type-system.html
Any more on this please?
Is this fixed now ?
I want to use Aria SDK(Microsoft. Applications.Telemetry.Azure nuget) in my azure function . This has dependency on Microsoft.WindowsAzure.ServiceRuntime and hence I am getting this error :
host error has occurred during startup operation 'xyz' Microsoft.WindowsAzure.ServiceRuntime: The type initializer for 'Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment' threw an exception. Microsoft.WindowsAzure.ServiceRuntime: Could not load type 'System.Web.Hosting.HostingEnvironment' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Let me know how to fix this.
any upadte on this
Any update on this?