# Unreal Engine Live Coding with Visual Studios 2022 Failed

**URL:** <https://forums.unrealengine.com/t/unreal-engine-live-coding-with-visual-studios-2022-failed/2496623>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, CPP, question\
**Created:** [May 8, 2025, 5:54am UTC](https://forums.unrealengine.com/t/unreal-engine-live-coding-with-visual-studios-2022-failed/2496623 "2025-05-08T05:54:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [May 8, 2025, 6:53pm UTC](https://forums.unrealengine.com/t/unreal-engine-live-coding-with-visual-studios-2022-failed/2496623/2 "2025-05-08T18:53:59Z")

</div>

Hello there @TheRealQuilithin!

Checking through the community, this error was encountered and resolved in another thread. Please test their method for your scenario:

> [@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/10):
>
> Can anyone explain this in further detail or just dumb it down for me Im getting this error 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.

> [@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/13):
>
> I’ve just spent a good hour trying to figure this out. Solution for me was: Remove “VisualStudioTools” plugin from my .uproject file.

In case the issue remains active after removing the plugin, I would suggest a reinstallation of Visual Studio, and all its required elements, according to your UE version.

> **[Setting Up Visual Studio Development Environment for C++ Projects in Unreal...](https://dev.epicgames.com/documentation/en-us/unreal-engine/setting-up-visual-studio-development-environment-for-cplusplus-projects-in-unreal-engine)**
>
> Tips, tricks, and techniques for setting up Visual Studio to work with Unreal Engine.

---

_[View the full topic](https://forums.unrealengine.com/t/unreal-engine-live-coding-with-visual-studios-2022-failed/2496623)._
