Unreal Engine 5 Can't compile C++ with Rider?

I’ll try to keep this short. I’m trying to compile my C++, and I’m constantly running into the error of " cannot open file ‘C:\Users\Anthony\Documents\Unreal Projects\GameStuff\Binaries\Win64\UnrealEditor-GameStuff.dll’

What is the workaround for this? I’m working with Rider.