Skip to content

Edit-refresh doesn't work after adding dockerfile to mvc web application #1302

@v-ruizh

Description

@v-ruizh

OS: Win10 & Mac
Build Version: 20190924.1
.NET Core Version: 2.2.402
Regression: Not a Regression

Repro Steps:

  1. Create an empty folder and open it in VS Code.
  2. Create a new ASP.NET MVC app to the opened folder by "dotnet new mvc --no-https --name test1".
  3. Select "Yes" when asked whether add the required assets to build and debug or not.
  4. F1 --> Type and select "Docker: Add Docker Files to Workspace" --> ASP.NET Core -->Linux -->Port : 80.
  5. Go to the Debug tab --> Select the Docker launch profile --> Debug.
  6. Don't stop the debugging, go to File Explorer->Home, edit 'Privacy.cshtml'.
  7. Go to the opened web page and refresh the 'Privacy' page.
  8. Check whether the edit-refresh works well or not.

Expect:
Edit-refresh works well, the change is available.

Actual:
Edit-refresh doesn't work.

More Info:
This issue does not reproduce without Docker.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions