Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
System.Private.CoreLib: Could not load file or assembly 'Microsoft.AspNetCore.Http.Abstractions' #322
Same issue for me. Pre-conditions:
Could not load assembly WindowsAzure.Storage (or similar). Nothing worked, until I downgraded WindowsAzure.Storage to 8.6.0. This is a version I've seen when NPM was restoring dependencies for Functions SDK. Downgraded, cleaned, re-compiled - voila!
Am getting same error message when running azure functions project locally. Targetting .net standard 2.0.
I also tried installing System.IdentityModel.Tokens.Jwt package [i just want to parse a jwt]. this works in local debugging but fails when I publish it to azure.
Is it just me or is version hell back with a massive vengeance in .net core space - possibly worse than ever before?
referenced this issue
Mar 31, 2018
I've uploaded the correct file to the folder in question, I'm certain it's in the right place as all the other dlls reside in the webRoot. However, it's blatantly giving the same message?
"The function runtime is unable to start. System.Private.CoreLib: Could not load file or assembly 'Microsoft.AspNetCore.Mvc.Abstractions, Version=220.127.116.11"
Is this still my inexperience with the platform (quite plausible, I know) ?
I am getting something similar, but for cosmosdb trigger functions.
Same issue with
Hosting environment: Production
[5/14/2018 2:13:09 PM] Executing 'graphql' (Reason='This function was programmatically called via the host APIs.', Id=8a3feaea-8fea-4140-b833-df8c7cac1a43)
This was referenced
May 14, 2018
Updating "Azure Functions and Web Jobs Tools" extension fixed the issue for me, although I am only trying to get it to run locally.