Build plugin package with vs 2019

Hi there,

I’m trying to create a package of a plugin that i’ve created using 4.26, but the build fail with the following error

UATHelper: Package Plugin Task (Windows): ERROR: Visual Studio 2017 must be installed in order to build this target.

i wasn’t expecting this issue since 4.26 is supposed to vs 2019, is there a way to fix that ?
I was able to run the following command with 2019 as argument but, it seem like it stop half step on the packaging process since i only get “HostProject” which i would expect it to be renamed with my pacakge name

Any help would be appreciated

Thanks

2 Likes

For those who are looking on how to solve this issue, the easiest way for now is to use the command line

C:\Program Files\Epic Games\UE_4.26\Engine\Build\BatchFiles\RunUAT.bat BuildPlugin -Rocket -Plugin=Path\Plugin.uplugin -TargetPlatforms=Win64 -Package=OutputPath -VS2019

3 Likes

THNX for sharing! Really appreciate. Works OK for me on 4.27)