Closed FaisalAbusharar closed 3 years ago
Can you check your .csproj and make sure that Microsoft.CodeAnalysis.CSharp
Is not referenced twice? That seems to be a common issue
how can i check that? im sorry im just a bit new to C# and this error was out of the blue
and also i used the github repo, with no edits
It should be in the .csproj file. If it isn't then this problem has a different source. Here is a stackoverflow for the issue
i already checked that stackoverflow post, and all of them, and i did not find anything about Microsoft.CodeAnalysis.CSharp, so yeah, maybe i missed it, so here is the file: https://www.mediafire.com/file/extpsbhb5iwncos/HyperMC.csproj/file
Describe the bug I'm talking about this repo, and this issue is only applying to me, when i save the sln and load the project again,i get this error: CS0246: The type or namespace name "System" could not be found
To Reproduce Steps to reproduce the behavior: Copy the repo HyperMC open the csproj then close it so you can save the sln reload the project and open from sln and maybe the same issue will happen, check program.cs
Expected behavior this error on the using System; and etc should pop up: CS0246: The type or namespace name "System" could not be found
Screenshots https://imgur.com/a/DFKhUuu
Desktop (please complete the following information):