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.

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.

this error is keeping me from compiling. It's first thing in the morning and I was able to compile last night without any errors. So what happened between last night and this morning? I made no changes to code, hardware, software because I was asleep and my computer was off. 

0
2 comments

Hello Berthunt,

Thank you for contacting Rider Support.

Could you please clarify what kind of project you are using? Could you please try tweaking Settings | Build, Execution, Deployment | Toolset and Build > MSBuild version to set to the proper version mentioned in the error (.NET 5 and below)? 

Looking forward to your response. 

0

Hi,

That worked for me

0

Please sign in to leave a comment.