VisualStudioTools Plugin Not Detected When Installed to Engine

In Visual Studio, the Unreal Engine Integration Configuration asks if we want to add the VisualStudioTools plugin to the Engine or the Project. I selected Engine.

But when I run the Build.bat file, I get the following error message:

Expecting to find a type to be declared in a module rules named 'VisualStudioTools' in 'UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.  This type must derive from the 'ModuleRules' type defined by UnrealBuildTool.

The VisualStudioTools plugin was in the engine files, but not the project files. After copying the VisualStudioTools directory to the project Plugins directory, the Build.bat file ran successfully.

UE 5.5.4, VS 2022 v17.14.20, Win10

Hello there @Doctor_Kannon!

Indeed, that is a valid workaround for the scenario, you should be able to continue working with the plugin this way. Alternatively, you can remove the plugin reference from the VisualStudioTools entry, or attempt to reinstall to “Project” instead of “Engine”.

For further details, there is a very similar issue addresed in the thread below: