Everything was fine, I was following along with a course when all of a sudden this error appears, I revert the changes to when the project ran fine but the error still persisted.
I haven't changed anything in regards to .NET versions the error was very surprising to me. Any help?
My code:
var app = builder.Build();
I get this error:
TypeLoadException: Could not load type 'System.Runtime.CompilerServices.NullableAttribute' from assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
I will be happy to provide any additional information, this error has set me back too much so I appreciate all the help.
I just added areas just like done in the course video I was following, moved controllers and other things in them. just as seen in the github project files, nothing major, why would it cause such error, even when I reverted the changes the error was still there