C
C#3mo ago
LaafJoren

Error when starting code

Everytime I start my code I get this error. I've looked on the internet what other people did but I don't find the same files they do or they do something that doesn't work for me
No description
7 Replies
Angius
Angius3mo ago
Start the code how?
LaafJoren
LaafJoren3mo ago
No description
Angius
Angius3mo ago
What's the .NET version of the project?
LaafJoren
LaafJoren3mo ago
4.8
Angius
Angius3mo ago
Ah, huh, I have no experience with the ancient versions Weird that it says the target process loaded CoreCLR if you're not using .NET Core though
LaafJoren
LaafJoren3mo ago
I've been looking at this for probably 4 hours. And might have found the problem. I should have used. .NET 8 and not .NET 4.8 . I think that will probably be it. I will let you know if changing that works. I really feel stupid rn
Angius
Angius3mo ago
If it's a new project then yes, absolutely, no need to even consider .NET Framework .NET 8.0 is where it's at right now
Want results from more Discord servers?
Add your server