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

Edit and Continue does not support modifications to source generated files #50039

Closed
pranavkm opened this issue Dec 17, 2020 · 2 comments
Closed

Comments

@pranavkm
Copy link
Contributor

Version Used:
VS 16.9 P2

Steps to Reproduce:

  1. Create a source generator that adds new Syntax Trees from Additional Files
  2. In the IDE, modify the Additional File while the debugger is attached.

Expected Behavior:

  • EnC picks up new syntax tree changes

Actual Behavior:

Changes appear to be ignored. You get a notification from the IDE saying

This source file has changed. It no longer matches the version of the file used to build the application being debugged.

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added Area-Interactive untriaged Issues and PRs which have not yet been triaged by a lead labels Dec 17, 2020
@tmat tmat added this to the 16.9 milestone Dec 17, 2020
@tmat tmat self-assigned this Dec 17, 2020
@MrBrix123
Copy link

I experienced the same issue. Here is a Stack Overflow question going into a bit more detail with source code to reproduce the issue.

@jinujoseph jinujoseph added Concept-Continuous Improvement and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Jan 5, 2021
@tmat tmat modified the milestones: 16.9, 16.10 Jan 29, 2021
@pranavkm
Copy link
Contributor Author

pranavkm commented Jul 6, 2021

This has been resolved for a while now.

@pranavkm pranavkm closed this as completed Jul 6, 2021
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

5 participants