Download

UE4.25 Package Plug-in with Visual Studio 2019

Hi,
I’m developping a plug-in with Visual Studio 2019. I changed the BuildConfiguration.xml file as follow:

<?xml version=“1.0” encoding=“utf-8” ?>
<Configuration xmlns=“https://www.unrealengine.com/BuildConfiguration”>
<ProjectFileGenerator>
<Format>VisualStudio2019</Format>
</ProjectFileGenerator>
<VCProjectFileGenerator>
<Version>VisualStudio2019</Version>
</VCProjectFileGenerator>
<WindowsPlatform>
<Compiler>VisualStudio2019</Compiler>
</WindowsPlatform>
</Configuration>

I also switched Platform Compiler version to Visual 2019 in the UI settings.

It’s working fine, the project is generated for VS2019, no problem testing my plug-in.
But when I package it, I still have the error message:
ERROR: Visual Studio 2017 must be installed in order to build this target.

I can see there is a -2017 in the UnrealBuildTool.exe command line.
Now I don’t how to get rid of it, and I don’t see why it couldn’t be possible as it’s obviously working fine with VS2019.

Any ideas?

1 Like

Hi,

I observe the same problem.
Have you been able to solve it?

Thanks by advance.