Can't build anything in dotnet 8. Not even template project.
I get this error when i try to build any project on Ubuntu 24.04
The project has just been made with
dotnet new classlib

8 Replies
Sounds like your SDK install is corrupt or broken. That's failing when attemping to invoke csc
I'd reinstall it
How?
I already removed it and installed
dotnet-sdk-8.0
What does
ls -la /usr/lib/dotnet/sdk/8.0.110/Roslyn/
show?
What about in
bincore
?
Hmm. I'm afraid I don't have a good answer for you. That all looks fine
Decided to just use a docker container
it works
i guess