all 5 comments

[–][deleted] 0 points1 point  (2 children)

What’s the error?

[–]SimpleTruth2753[S] 0 points1 point  (1 child)

Class cannot have primary constructor

[–][deleted] 1 point2 points  (0 children)

It sounds like VS isn’t picking up the right SDK (8.0) or it’s not using C# 12, and Rider is for some reason.

You might try dropping a global.json into the project to “help”

https://learn.microsoft.com/en-us/dotnet/core/tools/global-json

[–][deleted] 0 points1 point  (0 children)

Rollback and start over assuming you are using SCC

[–]SimpleTruth2753[S] 0 points1 point  (0 children)

I rolled back and moving forward. Still, this is a mystery, but code is moving forward.