When the .NET 7 SDK is installed, MAUI .NET projects targeting SDK version 6 no longer work

ROOT 6 Reputation points

Before installing SDK 7, projects that targeted version 6 worked correctly. But since the installation no more projects work. New projects as well as old ones. I'm on version Visual Studio 2022 17.4.0.

I need your help to solve this problem. Thanks in advance

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,425 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Michael Taylor 41,631 Reputation points

    This is a known issue I believe. The update to .NET 7 may cause the .NET 6 SDK to be corrupted. It depends on what specifically is wrong but if you read the comments from the blog they will probably point you in the right direction to fix the .NET 6 SDK.

    0 comments No comments