“ I’m getting persistent GUI namespace compilation errors in NinjaTrader 8 (latest version)…….. ……… System: Windows 10, NT8 version 8.1.5.2”
Can’t help you with coding stuff but just an observation in case it’s related/easily fixes: latest version is 8.1.6.3. If for any reason you want to be able to downgrade back to 8.1.5.2 you can download last prior version from website
FWIW I’ve been using .6 since end of last year and for my setup is stable
Hard to tell without being on the system and looking at things. But here are a couple of suggestions that you can try and see if one works. Hopefully, one of these will help.
Right click in your NinjaScript Editor window and go to References. Do you have all these entries? I’m guessing the fourth one is the relevant one for you.
See if replacing all instances of Gui with NinjaTrader.Gui fixes your problem.
Or alternately, assuming you already have the following “using” line at the top of your code, maybe remove the “Gui.” portion and see if that eliminates the error. For example, if you have “Gui.Tools.xxx”, then replace that with “Tools.xxx”.