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

Ngounou Victor Pérez 6 Reputation points
2022-11-11T19:25:15.52+00:00

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

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

1 answer

Sort by: Most helpful
  1. Michael Taylor 48,576 Reputation points
    2022-11-11T20:56:01.963+00:00

    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