Azure / Azure/azure-functions-host
Visual Studio, but not in VSCode : System.Private.CoreLib: Could not load type 'Microsoft.Azure.WebJobs.ExecutionContext' from assembly 'Microsoft.Azure.WebJobs.Host, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
I have a project that runs fine from within VSCode, but when the same project is opened in Visual Studio for Mac, it fails to run and logs the above error
Azure Functions Core Tools (2.1.725 Commit hash: 68f448fe6a60e1cade88c2004bf6491af7e5f1df)
Function Runtime Version: 2.0.12134.0
Sdk.Function is 1.0.23, Azure.Webjobs.* is 3.0.0
Contributor guide
Research direction
No source files or tests are named. Start by comparing the VSCode and Visual Studio for Mac launch environments and the reported Azure Functions Core Tools, runtime, and Azure WebJobs package versions; done means the same project runs in Visual Studio for Mac without the ExecutionContext type-load error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100