You are right it fixed the problem, though it is even more confusing now. How it managed to compile the project without correct includes and usings?
I use Visual Studio for C# development and used to the fact that if something is highlighted with red it won’t compile until you fix it.
I tried to run a thermometer sample VS code shows a lot of errors, but it works.
As for me, it isn’t okay.