vscode-azurefunctions
vscode-azurefunctions copied to clipboard
Error: Could not load file or assembly 'System.Linq.Expressions' using .NET 8 in-proc when debugging
This is on Apple M2, so could very well be related to ARM support.
Repro steps:
- Create new Functions project, select C#, and .NET 8 (not isolated)
- Run the build task using this tree item
- Start debugging with
It started debugging with no issues 4. Making a request the Function trigger fails with an error:
Executed 'GetJoke' (Failed, Id=0a654229-8734-490b-ab13-0d83f022b6a8, Duration=68ms) [2024-06-27T18:59:26.333Z] System.Private.CoreLib: Exception while executing function: GetJoke. jokes-api: Could not load file or assembly 'System.Linq.Expressions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.