Skip to content

Conversation

ladipro
Copy link
Member

@ladipro ladipro commented Nov 1, 2021

Context

MSBuild currently loads all files whose name starts with Microsoft.DevDiv as read-only. It is breaking scenarios where such files are legitimately written to. It is unfortunate to use hard-codes names in general.

Changes Made

Removed the special handling.

Testing

Ideally would verify that the Visual Studio repo builds fine with this change but it looks like too much hassle for such a safe change (famous last words).

Copy link
Member

@rainersigwald rainersigwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this code super ancient? What changed to cause problems now? Is it newly-introduced VS code?

@ladipro
Copy link
Member Author

ladipro commented Nov 1, 2021

Looks like a change in the VS project editing experience, see the email thread about InvalidOperationException. Unblocking an internal scenario and cleaning up the code? That's a win-win! 😄

@Forgind Forgind added the merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now. label Nov 1, 2021
@rokonec rokonec merged commit 28d2ad2 into dotnet:main Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants