Announcement

Collapse
No announcement yet.

GenerateProjectFiles ERROR: Unable to find a valid installation of Visual Studio.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    GenerateProjectFiles ERROR: Unable to find a valid installation of Visual Studio.

    GenerateProjectFiles ERROR: Unable to find a valid installation of Visual Studio. Please check that you have Visual Studio 2017 or Visual Studio 2019 installed, and the MSBuild component is selected as part of your installation.

    This is the error I'm getting when attempting to run GenerateProjectFiles.bat when building UE4 from source. I have Visual Studio 2019 installed and have all the required components mentioned in the README on the Unreal Engine GitHub page. I've tried running it without parameters and with the -2019 parameter with no success. Anyone have a fix for this?

    #2
    Of course, as soon I ask for help, I figure something out. Turns out I didn't have MSBuild checked in my Visual Studio Installer, so I had to install that real quick and everything worked out just fine after that. This isn't made mention of in the Unreal Engine README so maybe it should be added at some point.

    Comment

    Working...
    X