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

RemoveFromXml() throws on implicit element #1445

Closed
rainersigwald opened this issue Dec 6, 2016 · 1 comment
Closed

RemoveFromXml() throws on implicit element #1445

rainersigwald opened this issue Dec 6, 2016 · 1 comment
Labels
Milestone

Comments

@rainersigwald
Copy link
Member

When you call ProjectRootElement.RemoveAllChildren() on a project that uses an Sdk (and thus has implicit imports), RemoveFromXml throws when it encounters the implicit Import element.

@rainersigwald
Copy link
Member Author

Repro is slightly more complicated: this only happens after being cloned into.

rainersigwald added a commit to rainersigwald/msbuild that referenced this issue Dec 6, 2016
Simulates the Roslyn Project System's "Reloadable projects" feature that
is used to edit a project without unloading it from VS first.
@AndyGerlicher AndyGerlicher added this to the Feature: Sdks milestone Dec 6, 2016
@AR-May AR-May added the triaged label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants