Installed different Win11 and VS installed in it without a hitch but the problem with compiling is still there. As I suspected those were unrelated problems.
It baffles me no end, I did that mir3d server GUI translation only some weeks ago, compiled server and left compiled files in bin and rared up the source code to upload it for sharing and now I have problem compiling even when I get the source I uploaded.
How can a section of code reference back to itself. How do you remove such looping reference?
I reinstalled VS2019 since I think I did the last compile in that one. At the time I worked on the GUI translation, I have been moving to VS2022 but probably worked on that code still in the v2019
In VS 2019 that looping self referencing error is not present but it still won't compile. Now I have another bizarre error, it says something is wrong with the opening and closing brackets in the whole code. I opened fresh copy from the code I archived when I last compiled it.
Here are two .cs smaller code sections, where you can see the whole file content. If I understand what is wanted, there should be an opening curly brace before the 'namespace' and another closing bracket at the end of it. But how could they have gone missing? Another bizarre even, I am beginning to believe alien UFOs have landed here.