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

**URL:** <https://forums.unrealengine.com/t/cant-compile-fresh-c-project-nuget-vulnerability-on-ue-5-6-1-on-fresh-installation/2729092>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [June 16, 2026, 6:00pm UTC](https://forums.unrealengine.com/t/cant-compile-fresh-c-project-nuget-vulnerability-on-ue-5-6-1-on-fresh-installation/2729092 "2026-06-16T18:00:12Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Zombie.SoC1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zombie.SoC1](https://forums.unrealengine.com/u/Zombie.SoC1)\
**Post date:** [June 26, 2026, 10:12am UTC](https://forums.unrealengine.com/t/cant-compile-fresh-c-project-nuget-vulnerability-on-ue-5-6-1-on-fresh-installation/2729092/3 "2026-06-26T10:12:47Z")

</div>

thanxxx 🙂 !

i did not try to downgrade it to the 14.9.1 - but might have found a compatible version in 14.14.0 for the [magick.Net](http://magick.Net) package. Note the earlier mentioned 14.13.1 is as well vulnerable since this week.

which compiled fine until i deleted intermediate … / … and regenerated the vs project files: → then it had the following problem:

> [@The "SetEnv" task failed unexpectedly](https://forums.unrealengine.com/t/the-setenv-task-failed-unexpectedly/2675115):
>
> I had just upgraded to UE 5.7 and Visual Studio 2026. I created a fresh new C++ project using the third person template. When I go to build the project in Visual Studio I keep getting this error: 1\>C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Microsoft\VC\v180\Microsoft.Cpp.Current.targets(102,5): error MSB4018: The “SetEnv” task failed unexpectedly. 1\>C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Microsoft\VC\v180\Microsoft.Cpp.Current.targets(102,5): error MS…

Meanwhile VS needed an update too - so not sure to which update this problem is related.

---

_[View the full topic](https://forums.unrealengine.com/t/cant-compile-fresh-c-project-nuget-vulnerability-on-ue-5-6-1-on-fresh-installation/2729092)._
