ryanjon2040 / Unreal-Binary-Builder

An application designed to create installed Unreal Engine builds (aka Rocket builds) from Unreal Engine GitHub source.
MIT License
660 stars 152 forks source link

VS2022 Support #62

Open ActiveXSturcture opened 2 years ago

ActiveXSturcture commented 2 years ago

Hey,I try to use this tools to pack my Unreal Engine 5 with VS2022 Professional Edition.But i found that this tools only support VS 2019 Community Edition.Could you please tell me where i can change the source code for My own Environment like MSBuild And MSVC Version Path??

ryanjon2040 commented 2 years ago

The MSBuild is taken from GetMsBuildPath found here: https://github.com/ryanjon2040/Unreal-Binary-Builder/blob/master/UnrealBinaryBuilder/MainWindow.xaml.cs#L52

mbastias commented 2 years ago

This is not working for me on 2019 either as I changed the installation path on Visual Studio Installer. It's only getting the default, if you look at "Engine\Build\BatchFiles\GetMSBuildPath.bat" they do a lot more work to locate your MSBuild than that. If any user had to customize it the process will fail.

Code-Guy commented 1 year ago

Does anyone succeed to change vs version to 2022? Need help!

Olli1080 commented 1 year ago

@Code-Guy I made a 'quick' fix allowing you to chose the MSBuild based on the installed versions. Tested with VS2022 but should also be compatible with older versions. https://github.com/Olli1080/Unreal-Binary-Builder. Under Compile you'll have a dropdown based on your installed VS versions.

ameaninglessname commented 1 year ago

I'm using vs2022, and it runs well.