# Project works fine in Unreals Engine but wont build in VS

**URL:** <https://forums.unrealengine.com/t/project-works-fine-in-unreals-engine-but-wont-build-in-vs/2424442>\
**Category:** Platform & Builds\
**Tags:** build-error, unreal-engine, build-failed, question, CPP\
**Created:** [March 28, 2025, 3:04pm UTC](https://forums.unrealengine.com/t/project-works-fine-in-unreals-engine-but-wont-build-in-vs/2424442 "2025-03-28T15:04:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pur3Ven0m](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pur3Ven0m](https://forums.unrealengine.com/u/Pur3Ven0m)\
**Post date:** [March 28, 2025, 3:04pm UTC](https://forums.unrealengine.com/t/project-works-fine-in-unreals-engine-but-wont-build-in-vs/2424442/1 "2025-03-28T15:04:25Z")

</div>

I was having some issues with some plugins and thought rebuilding the project would help me, but after removing binaries, intermediates, saved, .vs and .sln i could not get the project to build. luckily i saved those folders because i could not get it to rebuild without. Here is the error below. So i dug into DarkerNodes and it appears it does correctly inherit module rules. Any help fixing this build issues would be greatly apricated.

3\>Expecting to find a type to be declared in a module rules named ‘DarkerNodes’ in ‘Unknown Assembly’. This type must derive from the ‘ModuleRules’ type defined by UnrealBuildTool.  
3\>S:\Program Files (x86)\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command “S:\UnrealEngine5\UE\_5.5\Engine\Build\BatchFiles\Build.bat ComponentLearningEditor Win64 Development -Project=“S:\Unreal Projects\ComponentLearning\ComponentLearning.uproject” -WaitMutex -FromMsBuild -architecture=x64” exited with code 8.  
3\>Done building project “ComponentLearning.vcxproj” – FAILED.

// using [System.IO](http://System.IO);  
// using UnrealBuildTool;

// public class DarkerNodes : ModuleRules

---

<div class="post-metadata">

**Author:** ![Pur3Ven0m](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pur3Ven0m](https://forums.unrealengine.com/u/Pur3Ven0m)\
**Post date:** [March 28, 2025, 4:06pm UTC](https://forums.unrealengine.com/t/project-works-fine-in-unreals-engine-but-wont-build-in-vs/2424442/2 "2025-03-28T16:06:56Z")

</div>

I figured it has something to do with marketplace plugins in the engine folder, but i am still not sure how to fix it. after moving darkernodes to my project it is giving me a different error, same error but for

1\>Expecting to find a type to be declared in a module rules named ‘VoxelPluginInstaller’ in ‘Unknown Assembly’. This type must derive from the ‘ModuleRules’ type defined by UnrealBuildTool.

I am no VS/plugin prefessional but i am pretty sure the installer for VP2 has to be in the engine folder. So i am unsure how to fix these build issues now.
