vscode-azurefunctions icon indicating copy to clipboard operation
vscode-azurefunctions copied to clipboard

An error "Failed to attach to process: Unknown Error: 0x80131c3c" occurs when debugging a .NET 6.0 LTS project

Open v-xinda opened this issue 2 years ago • 2 comments

OS: M1(Pro) Build Version: 20220715.7

Repro Steps:

  1. Create a C# project with the .NET 6.0 LTS runtime.
  2. Open the C# project in VS Code -> Debug it.
  3. Check whether no error occurs.

Expect: No error occurs.

Actual: An error occurs. image

More Info: This issue doesn't reproduce for C# projects created with other runtimes.

v-xinda avatar Jul 19 '22 02:07 v-xinda

Could you try this again? Maybe the staging templates were messing something up. It seems to be working okay on my machine.

image

image

nturinski avatar Jul 21 '22 22:07 nturinski

@nturinski This issue still reproduces on Mac(Pro). This issue doesn't reproduce on Windows. I set the "Azure Functions: Template Source" setting with "Default" and the dotnet version is 6.0.302. image image

v-xinda avatar Jul 22 '22 01:07 v-xinda

Hi, we have tried reproducing this on Mac and have been unsuccessful. We will be closing this out as unable to repro. If you can provide additional information showing how you are producing this error we can reopen

MicroFish91 avatar Aug 25 '22 22:08 MicroFish91