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

IDE failing to save files before build #70938

Open
sharwell opened this issue Nov 22, 2023 · 0 comments
Open

IDE failing to save files before build #70938

sharwell opened this issue Nov 22, 2023 · 0 comments

Comments

@sharwell
Copy link
Member

sharwell commented Nov 22, 2023

Version Used: 5f72d78

Steps to Reproduce:

Integration test for showed this error when building the above commit.

02 49 40-BasicEditAndContinue LocalsWindowUpdatesCorrectlyDuringEnC-Exception

In the screenshot, Module1.vb is shown as unsaved, despite having been recently built and executed. Since the wrong code compiled and ran, breakpoints were not hit and the debugger terminated (ran to completion) without having the chance to evaluate the expected local variables.

Expected Behavior:

Unsaved files are saved before building a project.

Actual Behavior:

Unsaved files are not saved before building, and stale code is executed without any warning to the user.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead labels Nov 22, 2023
sharwell added a commit to sharwell/roslyn that referenced this issue Nov 28, 2023
The csproj project system does not correctly detect unsaved files on
build. See dotnet#70938.
sharwell added a commit to sharwell/roslyn that referenced this issue Nov 29, 2023
The csproj project system does not correctly detect unsaved files on
build. See dotnet#70938.
@jasonmalinowski jasonmalinowski added Flaky and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Dec 1, 2023
@jasonmalinowski jasonmalinowski added this to the Backlog milestone Dec 1, 2023
sharwell added a commit to sharwell/roslyn that referenced this issue Dec 8, 2023
The csproj project system does not correctly detect unsaved files on
build. See dotnet#70938.
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

2 participants