Compiling UBT on Linux in Rider.

I’m trying to add further support in UBT for Linux. Mainly ccache, and fixing html5 builds on arch. (A different version of python is needed) The only issue is when trying to compile in Rider the build fails. It can’t seem to find the Tools.DotNETCommon namespace. I can build without issue when compiling with xbuild from commandline, but for some reason it doesn’t work with Rider. Anyone have any idea why I might not be able to compile?