Repository navigation
Deprecate xproj migration - #4895
Merged
Merged
Conversation
With this change, when a user loads a legacy xproj project they will be notified that the project is unsupported. The project will appear in Solution Explorer unloaded with "incompatible" alongside the name.
davkean
reviewed
Jun 5, 2019
Member
|
I expected this to also contain deletions of:
|
Member
|
I think you'll want to also remove the unused strings that this code no longer uses. |
davkean
approved these changes
Jun 5, 2019
davkean
left a comment
Member
There was a problem hiding this comment.
Approved with the indicated changes.
This code was originally copied from dotnet/cli which licenses it under MIT. Now that it is no longer used and can be removed, we can also remove THIRD-PARTY-NOTICES.md.
It no longer performs migration.
Member
Author
davidwengier
approved these changes
Jun 5, 2019
davidwengier
left a comment
Member
There was a problem hiding this comment.
Seems fine. Perhaps shouldn't still be in Draft mode?
Member
Author
|
Keeping it in draft until master is 16.3 to prevent accidental merging. |
Member
Author
|
Remaining task is to update docs https://docs.microsoft.com/en-us/visualstudio/porting/port-migrate-and-upgrade-visual-studio-projects?view=vs-2017, which we need to coordinate the timing of. |
Member
|
You could probably que up a PR for that too if you want to have it just ready. |
drewnoakes
added a commit
to drewnoakes/visualstudio-docs
that referenced
this pull request
Jun 5, 2019
Starting in Visual Studio 2019 version 16.3, migration of xproj projects is no longer supported. This coincides with the removal of the `dotnet migrate` feature from CLI in .NET Core 3 preview 7. See dotnet/project-system#4895 for reference.
Writes an error message to the migration report including a link to documentation explaining how to manually migrate from xproj to csproj.
This project factory will only be called for projects having the xproj extension, so testing for it again is redundant.
Member
Author
|
Code updated to:
|
davkean
approved these changes
Jun 11, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes some parts of #4540.
With this change, when a user loads a legacy
.xprojproject they will be notified that the project is unsupported. The project will appear in Solution Explorer unloaded with "incompatible" alongside the name.Tested on drewnoakes/metadata-extractor-dotnet@2be0b57
Marked as draft to prevent merging until we have alignment with CLI release.