Cant build solution in visual studio (200+ errors)

Hello

I recently installed visual studio and must have done something wrong. I created a character controller c++ class in the editor and when i hit build solution in VS I get many errors. Also I see this unreal engine config screen with “issues detected in unreal engine config” note.

I have pictured the screen and some of the errors.

Thanks

Jack L

Hello @Jack_W_Lewis ,
From what can be seen in the image, it looks like you don’t have the Visual Studio Integration Tool component installed, which is quite important when working with Unreal Engine. Additionally, it’s very likely that some key components required for Visual Studio to work properly with the engine are missing.

I’d recommend checking the Visual Studio installer and making sure you have the “Game development with C++” workload selected, along with the MSVC toolchains, the Windows SDK, and the additional tools mentioned in the documentation.

I’m sharing the official documentation where all the required components are listed, as well as a video that can help guide you step by step to verify everything is set up correctly.
https://dev.epicgames.com/documentation/unreal-engine/setting-up-visual-studio-development-environment-for-cplusplus-projects-in-unreal-engine?application_version=5.0&lang=en-US

How to Setup Visual Studio 2022 for Unreal Engine 5
How to Setup Visual Studio 2022 for Unreal Engine 5 similar set up

Hope it helps!

Hello, thanks for your reply! I think maybe when I downloaded it the first time I missed stuff (though I was prompted to install VS in unreal and I think it preselected stuff).

However since posting this thread I’ve ran into more issues. When I install VS installer and run it and go to install VS Community 2026 with the added checkboxes for NET., Game Dev and Unreal packages I get hit with a warning When I go to install VS I get this message: “The visual studio installer was denied access to executing powershell scripts.” Technically I can still install it but when I try to use it with unreal I get many error which I assume stem from this.

Side note when I go to open PowerShell it opens for a split second and closes. I spent hours last night trying to solve what was wrong with powershell to no luck (as well as receving abuse from the redditors at r/powershell) I’ve tried everything I’ve seen and red about online and still can’t get powershell fixed.

I’m worried its a malware thing and my windows scan is not finding anything. I’m worried I’ll need a new computer at this point.