Editing WinUI projects created with older versions of the extension requires manual changes #4582
Closed
1 of 3 tasks
Labels
bug
The issue relates to the wizard not working or a problem with the generated code.
Milestone
Describe the bug
Due to significant changes in the project templates, we recommend creating a new project with the 5.2 extension and migrating your old project to the new template in order to edit projects.
Editing existing projects is possible but will require manual changes to resolve merge conflicts and other build issues.
<ImplicitUsings>enable</ImplicitUsings>
to the App and Core project files<Nullable>enable</Nullable>
to the App and Core project files (optional)global using WinUIEx;
Host
,GetService
, andMainWindow
.UseContentRoot(AppContext.BaseDirectory)
afterCreateDefaultBuilder()
If you encounter other issues with editing projects created with older versions of the extension, add a comment below and we'll update the guidance here with the manual changes required.
To Reproduce
Additional context
No response
Applies to the following platforms:
About your setup
The text was updated successfully, but these errors were encountered: