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

Upgrade assistant should support migrating to sdk-style project without changing target framework. #1501

Open
voroninp opened this issue Jul 13, 2023 · 5 comments
Labels
design-proposal label for issues that are design proposal

Comments

@voroninp
Copy link

Summary

There should be an option to convert a project from the old format to the sdk-style format without changing its target framework.

Motivation and goals

I have a project which targets .NET 4.8 It is of the old format, and I'd like to convert it to the new sdk-style project. I do not want to switch to NetStandard or .NET 5+ in one go. But I want to have the benefits of manually editable proj file.

@voroninp voroninp added the design-proposal label for issues that are design proposal label Jul 13, 2023
@grasbdo
Copy link

grasbdo commented Jul 19, 2023

You can use the legacy version of the upgrade-assistant in version 0.4.421302, see here for more details.

We also upgrade in two steps our solutions. In the first step, we upgrade to the new SDK style, then we try to remove all the unsupported libraries and upgrade to .net standard 2.0 or .net 6.

Hope that helps.

@voroninp
Copy link
Author

voroninp commented Aug 9, 2023

@grasbdo, unfortunately, when it converts to new skd-style, it does not convert service references =(

@grasbdo
Copy link

grasbdo commented Aug 9, 2023

Yes, that is true. We've updated our service references and relinked them as a connected service.

@voroninp
Copy link
Author

voroninp commented Aug 9, 2023

@grasbdo , manually?

@grasbdo
Copy link

grasbdo commented Aug 9, 2023

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design-proposal label for issues that are design proposal
Projects
None yet
Development

No branches or pull requests

2 participants