UE4 requires the NuGet Package Manager
See original GitHub issueI success to build the first two images on windows server 1804.
But in the third, I have, at step 7 an error message .
UE4 requires the NuGet Package Manager to be installed to use "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe". Please run the Visual Studio Installer and add it from the individual components list (in the 'Code Tools' category).
Maybe you have to include Nuget Package Manager into the first container ?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Can't generate project files because "UE4 requires the NuGet ...
I'm getting this error when generating project files for VS2017 by running GenerateProjectFiles.bat from UE 4.20.2 source (Github release).
Read more >Using a NuGet package in Visual Studio with Unreal Engine 4
I have installed the Microsoft.Windows.ImplementationLibrary package using the by clicking on Manage NuGet Packages, however when I include ...
Read more >UE4:源码版运行GenerateProjectFile 提示Nuget Package 没有 ...
UE4 requires the NuGet Package Manager to be installed to use "d:\Program Files (x86)\Microsoft... 1; 2.
Read more >NuGet Package Manager - Visual Studio Marketplace
NuGet is the package manager for the Microsoft development platform including .NET. ... NuGet requires that PowerShell 2.0 be installed.
Read more >Install and manage packages in Visual Studio using the ...
Visual Studio 2017 and higher automatically includes NuGet Package Manager when a .NET-related workload is installed. To install it individually ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This appears to be related to the recent release of Visual Studio 2017 version 15.8, since this error does not occur when using a build of the
ue4-build-prerequisitesimage from a few weeks ago that contains version 15.7.6 of the Build Tools. Presumably Microsoft have altered the dependency lists in such a way that the NuGet Package Manager is no longer a required dependency of the default selected installation workloads.I have modified the Build Tools installation command to explicitly specify the required installation workloads and components, including the component ID for the NuGet Package Manager. This ensures that NuGet is always installed, and should be less brittle in the face of future Visual Studio updates. As an added bonus, this has also reduced the overall size of the
ue4-build-prerequisitesimage by about 15GB, since only the required installation workloads are selected.To utilise this fix, you will need to pull the latest version of the Dockerfiles and rebuild all images by specifying the
--rebuildparameter when invoking the build script.I re build (4 times) and seems to work ! The script success to build engine !