Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An exception occurs when debugging a .NET MVC project #3638

Closed
v-ruizh opened this issue Oct 11, 2022 · 4 comments · Fixed by #3644
Closed

An exception occurs when debugging a .NET MVC project #3638

v-ruizh opened this issue Oct 11, 2022 · 4 comments · Fixed by #3644

Comments

@v-ruizh
Copy link

v-ruizh commented Oct 11, 2022

OS: Win 10
Build Version: 20221010.1

Repro Steps:

  1. Create a .NET MVC project with "dotnet new mvc" command and open it in VS Code.
  2. Add Docker files which include docker compose files to this project.
  3. Debug this project with configuration "Docker .NET Core Launch".
  4. Check whether succeeds to debug this project or not.

Expect:
Succeed to debug this .NET MVC project without any error.

Actual:
An exception occurs when debugging the .NET MVC project.
image

More Info:
This issue reproduces with both .NET 6 and .NET 7 rc1.

@dbreshears
Copy link
Member

@v-ruizh . Does this reproduce in .NET 7 rc2?

@v-ruizh
Copy link
Author

v-ruizh commented Oct 13, 2022

Yes, this issue also reproduces in .NET 7 rc2.

@bwateratmsft
Copy link
Collaborator

I am able to reproduce.

@bwateratmsft
Copy link
Collaborator

A fix for this issue has been released in Docker extension version 1.22.2.

@microsoft microsoft locked and limited conversation to collaborators Nov 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.