Ivan

Ivan

  • NA
  • 11
  • 1.8k

Broken references in asp.net MVC project

Nov 15 2022 9:08 PM

Hello, dear c-sharpers! I am new in the language. Recently started a new project but after rearranging my file system I moved the project folder and already can't start the project. After all day searching in the web for solution I didn't find anything to help me or to explain to me what happened. Even if I delete my project and pull it from my github it still gives the same error what's annoying me most, as a new project pulled from the github should work at any path!? What am I missing?

Actually the error message that appears is the following:

Error    NETSDK1045    The current .NET SDK does not support targeting .NET 6.0.  Either target .NET 5.0 or lower, or use a version of the .NET SDK that supports .NET 6.0.    3dhi    C:\Program Files\dotnet\sdk\5.0.414\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets    141


Answers (1)