Error MSB3073 building 4.26 caused by extra quotation mark?

I almost have the exact same issue when trying to build from source. I get exit code 255. I can build the engine but cannot build any c++ project from VS or Rider. How do you build from cmd and make sure the quotation mark is removed? Do you need to do this every time when you want to build? I’m not good with terminals.