# Unable to generate project files

**URL:** <https://forums.unrealengine.com/t/unable-to-generate-project-files/231394>\
**Category:** World Creation\
**Tags:** unreal-engine, UE5-0\
**Created:** [May 27, 2021, 2:06am UTC](https://forums.unrealengine.com/t/unable-to-generate-project-files/231394 "2021-05-27T02:06:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![qhurc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@qhurc](https://forums.unrealengine.com/u/qhurc)\
**Post date:** [May 27, 2021, 2:06am UTC](https://forums.unrealengine.com/t/unable-to-generate-project-files/231394/1 "2021-05-27T02:06:54Z")

</div>

when running `UnrealBuildTool.exe -projectfiles`, an error was occurred:

`error CS0117: 'UnrealTargetPlatform' does not contain a definition for 'Win32'`

No other errors are found and generate process immediately stopped. Is Win32 support lifted in UE5? Or is there a solution to this?

Thanks!

=======  
I removed all `Target.Platform == UnrealTargetPlatform.Win32` from .Build.cs and generation process succeeded.

---

<div class="post-metadata">

**Author:** ![Vazuvius](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vazuvius](https://forums.unrealengine.com/u/Vazuvius)\
**Post date:** [May 27, 2021, 3:42am UTC](https://forums.unrealengine.com/t/unable-to-generate-project-files/231394/2 "2021-05-27T03:42:21Z")

</div>

yep, they say in the “Welcome To Unreal Engine 5 Early Access” documentation 32-bit support has been removed for UE5.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_62fa2554](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_62fa2554](https://forums.unrealengine.com/u/anonymous_user_62fa2554)\
**Post date:** [September 29, 2021, 4:00am UTC](https://forums.unrealengine.com/t/unable-to-generate-project-files/231394/3 "2021-09-29T04:00:51Z")

</div>

I am also unable to generateprojectfiles.bat my error is different tho, mine says that visual studio 2019 was not found installed, and it quits. Anyone know how I can repair this error, can I edit the .build.cs and remove so it doesn’t check if it’s installed first, or is there an environment variable that can be set, I’m using UE EA 5 Master edition from github and visual studio 2022 preview 4.1.

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [September 29, 2021, 5:22am UTC](https://forums.unrealengine.com/t/unable-to-generate-project-files/231394/4 "2021-09-29T05:22:51Z")

</div>

hi @anonymous_user_62fa2554 ,

For Vs 2022 you want to use my forked repo in  
[Visual Studio 2022 Preview is 64 bit and compiles and runs UE 5.0 EA approximately 20% FASTER - Development Discussion / Unreal Engine 5 Early Access - Unreal Engine Forums](https://forums.unrealengine.com/t/visual-studio-2022-preview-is-64-bit-and-compiles-and-runs-ue-5-0-ea-approximately-20-faster/237164)

This builds with VS 2022 Preview 4.1

The Github [ue5-main]/master does not work with VS2022  
Thanks
