Unreal-Binary-Builder icon indicating copy to clipboard operation
Unreal-Binary-Builder copied to clipboard

VS2022 Support

Open ActiveXSturcture opened this issue 2 years ago • 5 comments

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??

ActiveXSturcture avatar Jun 27 '22 08:06 ActiveXSturcture

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

ryanjon2040 avatar Jul 15 '22 07:07 ryanjon2040

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.

mbastias avatar Aug 30 '22 15:08 mbastias

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

Code-Guy avatar Mar 12 '23 02:03 Code-Guy

@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.

Olli1080 avatar May 29 '23 09:05 Olli1080

I'm using vs2022, and it runs well.

ameaninglessname avatar Jun 03 '23 12:06 ameaninglessname