MicrosoftDocs / feedback

📢 docs.microsoft.com site feedback
https://learn.microsoft.com
Creative Commons Attribution 4.0 International
239 stars 160 forks source link

Document the legacy project upgrade breaking changes #4009

Open JanKrivanek opened 5 days ago

JanKrivanek commented 5 days ago

Background

As part of MSBuild deprecated code removal effort (https://github.com/dotnet/msbuild/issues/8826) an upgrade support from pre-MSBuild projects (and pre-MSBuild webprojects) will be dropped in dev17.12

The document to be updated

https://learn.microsoft.com/en-us/visualstudio/releases/2022/port-migrate-and-upgrade-visual-studio-projects

Previous behavior

When encountered those legacy project types (from .NET 1.1 and prior), Visual Studio was able to automatically run upgrade wizard to make the necessary one-way changes in order to open the projects.

New behavior

Upgrade wizard will run, but it will not be able to convert those old project types (rest of the upgrade will run successfuly). Conversion upgrade log will display a clear customized error, that will provida an aka.ms link for more details:

ConversionFailure2

Once the microsoft.learn article is properly updated (anchor should be added as well) - the aka.ms link will be pointed to the article.

Workaround

Older VS version can be used to run the conversion, after which the upgraded project can be saved and then opened in the new VS version.

Envisioned Timeline

The change is planned for dev17.12 P1

Required changes

welcome[bot] commented 5 days ago

Thank you for opening an issue! One of our team members will get back to you with additional information.

If this is a product issue, please close this issue and contact the product's support instead. For a list of support websites, see Support for Microsoft products and apps.