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

EnC Scenario: deleting a file doesn't display rude edit #41144

Open
isadorasophia opened this issue Jan 22, 2020 · 1 comment
Open

EnC Scenario: deleting a file doesn't display rude edit #41144

isadorasophia opened this issue Jan 22, 2020 · 1 comment

Comments

@isadorasophia
Copy link
Contributor

Version Used:

Steps to Reproduce:

  1. Create a Console App (.NET Core) with the following code on Program.cs:
class Program 
{
    int a = 20;
    return;
}
  1. Start debugging (F10);
  2. Delete Program.cs externally;

Expected Behavior:

  • EnC reports an error that the file has been deleted.

Actual Behavior:

  • You can continue debugging without source code.

Remarks
*If you create a .NET Framework Console App instead, Roslyn emits a rude edit as long as you also close the code in the editor window. However, no message shows up on "Error List" Window.
*We might want to deal with file renames as well?

@tmat
Copy link
Member

tmat commented Feb 21, 2020

Moving to backlog. It is low priority as it requires the user to delete file outside of VS (VS project system does not allow file deletion during debugging).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants