Cant compile fresh c++ project: Nuget vulnerability on UE 5.6.1 on fresh installation

Nuget vulnerability on UE 5.6.1 on fresh installation

Engine Version 5.6.1. VS 2022 version latest 17.14.34, same with VS 2026

The problem suddenly appeared with updating some plugin via FAB, that required a c++ compilation (deleting intermediate/saved/binaries/.vs folder in project). I spare you
the iterations and details about that and made a clean c++ test project to exclude any local - project bound configuration details, where i still cant compile successfull:

  • fresh installation of Engine and VS, a fresh c++ blank project
  • in VS warning for NuGet vulnerability packages, that lead to failed compilation

log_VS2026_withoutUpdating.txt (113.6 KB)

see excerpt log on picture… and output log: AutomationUtils.Automation.csproj has an error NU1902 as Magick.Net-Q16-HDRI-AnyCPU Version 14.7.0 )
and for Microsoft.build 17.11.4
Note: considering the problems 5.6.1 version had a year ago: now that is the version which was suggested in all fixes here in the forum and does not work.

Now, updating Magick.Net-Q16-HDRI-AnyCPU to 14.13.1 and Microsoft.build to 17.11.48 : is failing in one point:

BuildFail_afterupdating.txt (18.1 KB)

26>Expecting to find a type to be declared in a module rules named ‘VisualStudioTools’ in ‘UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’. This type must derive from the ‘ModuleRules’ type defined by UnrealBuildTool.
26>
26>Result: Failed (RulesError)
26>Total execution time: 0.99 seconds
26>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command ““C:\Program Files\Epic Games\UE_5.6\Engine\Build\BatchFiles\Build.bat” testCppEditor Win64 Development -Project=“D:\TESTProject\testCpp\testCpp.uproject” -WaitMutex -FromMsBuild -architecture=x64” exited with code 8.
26>Done building project “testCpp.vcxproj” – FAILED.

I am aware that manually updating these packages can break the build tool - and i really dont feel comfortable doing this. If you have any suggestions <3 - i need help :confused: