VS Code issues while setting up Rider

I recently installed rider because I thought it was the better compiler. Then in my haste I deleted visual studio 2022 because I thought that wasn’t necessary, then I installed the ms build tools that are required to use rider without VS. Whenever I try to launch unreal engine though it takes an hour to compile shaders on startup and crashes after compiling the shaders.

Yeah, I don’t think uninstalling Visual Studio 2022 is a good idea even if you use Rider. I think the best idea is to get everything working with Visual Studio 2022 first, and then install Rider in addition to that (without uninstalling anything). At least, that’s how I have it setup and haven’t had any of the problems you’re describing.

It worked now, I reinstalled unreal engine without VS and it works now.

1 Like

I’d still be a bit skeptical that everything will work even if you’ve fixed the particular bug you encountered. The list of dependencies given in the Unreal Engine release notes (see Unreal Engine 5.0 Release Notes | Unreal Engine 5.0 Documentation) includes Visual Studio, and whether you use Rider or Visual Studio or the .sln or the .uproject, they all call down into Engine\Build\BatchFiles\Build.bat which calls a C# program UnrealBuildTool which in turn runs programs that are part of Visual Studio - plus beyond that there are various cooking, packaging and shipping processes around another system called Unreal Automation Tool that may use other programs from Visual Studio directly.

There is something called visual studio build tool which you can download which is just the things needed to build and compile ue5 projects.

Can you give a link to this “visual studio build tool” ? Where did you get it?