question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UE4 requires the NuGet Package Manager

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
adamrehncommented, Aug 21, 2018

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-prerequisites image 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-prerequisites image 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 --rebuild parameter when invoking the build script.

0reactions
Ludeacommented, Aug 31, 2018

I re build (4 times) and seems to work ! The script success to build engine !

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found