My development was going fine until a few days ago. Whenever i had a Razor view open, the error list would give me trouble. The project would still compile. Now it stopped, and it gives the same error on all datatypes (System.void, System.int32, etc.). I have no idea why it is doing this all of a sudden. I tried updating VS2017 to no avail.
I have seen others with the same problem, but they all have problems regarding a special extension/NuGet. Anyone else tried this? Also, mscorlib
is not referenced as far as I can tell
I have two projects in this solution, it only throws these errors for my main project, the other one builds just fine
Okay, so I saw there was a conflict with mscorlib and System.Runtime, but I did not have any references to the former. I tried removing my project's reference to System.Runtime and it worked! I don't know why it started acting up hundreds of hours into development
I would still very much like to know what causes this, so please share if you have similar experiences so we can avoid this in the future. Cheers