Can't get marlin 2.0 to compile

configuration. Cannot find the error.
changed to cr 10 mini by uncommenting define for that printer. changed mobo in confuration.h, platformide.ino to lpc 1768 .
Did the same thing to plain marlin 2 latest bugfix , made changes for plain vanilla marlin for ezabl from th3d websitte and it does compile no errors (once) only and now won’t compile
error
"Can not find active PlatformIO project.

Make sure that an opened project you are trying to rebuid is a PlatformIO project (e.g., contains platformio.ini)."
The platformio.ini is right there in the path. under the main marlin_bugfix_2.0x.

Make sure that an opened project you are trying to rebuid is a PlatformIO project (e.g., contains platformio.ini).

Would prefer the th3d unified for marlin 2.
what am I doing wrong. Have watched every you-tube out there on the creality printers and skr 1.3 and 1.4