1

I have installed the Microsoft.Windows.ImplementationLibrary package using the by clicking on Manage NuGet Packages, however when I include the header ''' #include <wil/com.h> ''' & compile, it seems that it can't find it so it shows an error message.

Is there a way to make any package work in a UE4 C++ project ?

Thanks a lot

  • Are you using Unreal Engine source? If so, you could try right clicking the uproject file and selecting "Generate Visual Studio project files". I've also found with NuGet and Unreal Engine, from my experience at least, that I've had to manually add the NuGet package to the project. Adding it through Visual Studio never worked for me personally. – Chris Gong Nov 02 '20 at 23:00
  • @ChrisGong So you're recommending to install the NuGet then generate visual studio project files & this fixes it? – محمد خير الخلق Nov 07 '20 at 19:42
  • @ChrisGong How do you manually add the NuGet package to the project? – محمد خير الخلق Nov 07 '20 at 19:48
  • Have you tried this solution: https://forums.unrealengine.com/t/includes-using-nuget-package-wont-work/141654/3 – Geordie Jun 29 '21 at 23:41

0 Answers0