# vs2022 integration tool error

**URL:** <https://forums.unrealengine.com/t/vs2022-integration-tool-error/2463105>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [April 18, 2025, 1:44pm UTC](https://forums.unrealengine.com/t/vs2022-integration-tool-error/2463105 "2025-04-18T13:44:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![black\_cat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@black\_cat](https://forums.unrealengine.com/u/black_cat)\
**Post date:** [April 18, 2025, 1:45pm UTC](https://forums.unrealengine.com/t/vs2022-integration-tool-error/2463105/1 "2025-04-18T13:45:00Z")

</div>

After enabling vs studio integration in a project this error shows when live coding:

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.

How to fix that?

---

<div class="post-metadata">

**Author:** ![brs-sebascova](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brs-sebascova/32/1052483_2.png) [@brs-sebascova](https://forums.unrealengine.com/u/brs-sebascova)\
**Post date:** [April 18, 2025, 3:00pm UTC](https://forums.unrealengine.com/t/vs2022-integration-tool-error/2463105/2 "2025-04-18T15:00:10Z")

</div>

Hello there @black_cat!

This error has been encountered in other scenarios along the community. The most viable solution in said cases has been to copy the integration plugin content into the Engine\Plugins\Marketplace folder. And in case that doesn’t work, the next step would be to remove the “VisualStudioTools” plugin from the .uproject file.

Adding the other case studies below, for further checking:

> [@UE5.1 Expecting to find a type to be declared in a module rules named '......'](https://forums.unrealengine.com/t/ue5-1-expecting-to-find-a-type-to-be-declared-in-a-module-rules-named/741811):
>
> Compilation error: Expecting to find a type to be declared in a module rules named ‘DlssUtility’ in UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the ‘ModuleRules’ type defined by Unreal Build Tool. Reproduce: Upgrade from Unreal Engine 4.27 to 5.1. Install NVIDIA DLSS to the engine plugins folder. I expect someone will tell me to move the plugin to the project folder and try again. That is not a fix. Related: [ERROR: Expecting to find a type…](https://forums.unrealengine.com/t/error-expecting-to-find-a-type-to-be-declared-in-a-module-rules-named-niscore-in-ue5rules/663406)

> [@CompilerResultsLog: ERROR: Expecting to find a type to be declared in a module rules named 'AdvancedSessions'](https://forums.unrealengine.com/t/compilerresultslog-error-expecting-to-find-a-type-to-be-declared-in-a-module-rules-named-advancedsessions/468583):
>
> After simply updating from 4.25.1 → 4.25.2 I am now getting this error when I try to compile CompilerResultsLog: ERROR: Expecting to find a type to be declared in a module rules named 'AdvancedSessions' in UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the 'ModuleRules' type defined by Unreal Build Tool. This worked fine before, unticking the AdvancedSessions plugin in the plugins allows me to compile, but I need the plugin to be active like it was…

> [@Visual Studio Integration Tool plugin for 5.5](https://forums.unrealengine.com/t/visual-studio-integration-tool-plugin-for-5-5/2135098):
>
> I recently installed 5.5 and the editor and project are compiling just fine. The thing is, I keep getting the following error in the Unreal Engine Integration Configuration: The Visual Studio Integration Tool plugin is owned and in my launcher library, but the launcher is only giving me the option to install it to earlier UE versions (i.e. not 5.5). Also, in my 5.5 list of plugins, the Visual Studio Integration Tool plugin isn’t appearing. Any suggestions please people? …

---

<div class="post-metadata">

**Author:** ![NoahZionX](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/noahzionx/32/1108548_2.png) [@NoahZionX](https://forums.unrealengine.com/u/NoahZionX)\
**Post date:** [November 27, 2025, 5:46am UTC](https://forums.unrealengine.com/t/vs2022-integration-tool-error/2463105/3 "2025-11-27T05:46:49Z")

</div>

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.  
what a BUG problem, when UE version is 5.7

---

<div class="post-metadata">

**Author:** ![hsider](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hsider](https://forums.unrealengine.com/u/hsider)\
**Post date:** [January 20, 2026, 5:57am UTC](https://forums.unrealengine.com/t/vs2022-integration-tool-error/2463105/4 "2026-01-20T05:57:40Z")

</div>

What got me beyond this:

- Uninstall tools integration from the engine

- Install tools integration to the project

- Close and reopen the project; allow the plugin to get rebuilt.

---

<div class="post-metadata">

**Author:** ![\_tomato3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_tomato3](https://forums.unrealengine.com/u/_tomato3)\
**Post date:** [March 12, 2026, 9:01pm UTC](https://forums.unrealengine.com/t/vs2022-integration-tool-error/2463105/5 "2026-03-12T21:01:29Z")

</div>

**I solved the problem by removing the ‘Visual Studio Integration Tool’ from the UE integrated environment configuration in VS.**

---

<div class="post-metadata">

**Author:** ![BlueprintBailey](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blueprintbailey/32/1205583_2.png) [@BlueprintBailey](https://forums.unrealengine.com/u/BlueprintBailey)\
**Post date:** [September 16, 2026, 8:47pm UTC](https://forums.unrealengine.com/t/vs2022-integration-tool-error/2463105/6 "2026-09-16T20:47:33Z")

</div>

Excuse me, but how do I go about it? Mind giving us some steps to do so?  
I’ve been facing this issue myself towards Unreal 5.4 projects.

 ![Screenshot 2026-09-16 163612](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/4/8b464cb075106af249479401bf8f61f6d2583458.png)
