Hello @SuperCoder ,
Welcome to Microsoft Q&A forum.
Please right-click your project > Unload Project > right-click it again > Edit Project File, then check the .xxproj file(project file).
Refer to this document: You re-target a project to a different version of .NET and references aren’t resolved and correct the form of the references.
If you are using some NuGet packages, make sure that they support .NET 7.0. If you find that one doesn’t support .NET 7.0, try to update it or search for another one which supports .NET 7.0 and replace the previous one.
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.