Can't generate project files because "UE4 requires the NuGet Package Manager" when it is already installed
I'm getting this error when generating project files for VS2017 by running GenerateProjectFiles.bat from UE 4.20.2 source (Github release). I have NuGet installed and it's still coming up with this error regardless:
I even tried uninstalling VS2017 completely, then reinstalling along with Build Tools and the required dependencies, in order to confirm it's not an issue with NuGet on my local machine. This was all working fine with a 4.19 build.
Any ideas to resolve or bypass this error?
Error in cmd:
Already have NuGet installed:
asked Sep 08 '18 at 11:32 PM in Installation & Setup
I ended up simply commenting out the line in GenerateProjectFiles.bat where it returns an error if NuGet isn't found. I believe this is a bug.
answered Sep 10 '18 at 06:40 AM
Found a solution to this. You have to actually install Nuget Package Manager on the separate MSBuild Tools Extension, not just within Visual Studio 2017. So even though it seems like I bug, it's just not documented that well but is actually reporting accurately.
Here's the steps to fix it:
Should be good after that.
Follow this question
Once you sign in you will be able to subscribe for any updates here