# UE5.1 Expecting to find a type to be declared in a module rules named '......'

**URL:** <https://forums.unrealengine.com/t/ue5-1-expecting-to-find-a-type-to-be-declared-in-a-module-rules-named/741811>\
**Category:** C++\
**Tags:** unreal-build-tool, unreal-engine, Engine-Source-Code, compile-error, feedback, Plugins, CPP, question\
**Created:** [January 4, 2023, 8:17am UTC](https://forums.unrealengine.com/t/ue5-1-expecting-to-find-a-type-to-be-declared-in-a-module-rules-named/741811 "2023-01-04T08:17:04Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Skyboy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skyboy](https://forums.unrealengine.com/u/Skyboy)\
**Post date:** [March 5, 2025, 4:11pm UTC](https://forums.unrealengine.com/t/ue5-1-expecting-to-find-a-type-to-be-declared-in-a-module-rules-named/741811/10 "2025-03-05T16:11:36Z")

</div>

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.

---

_[View the full topic](https://forums.unrealengine.com/t/ue5-1-expecting-to-find-a-type-to-be-declared-in-a-module-rules-named/741811)._
