C1083 - Cannot open include file: 'pugiconfig.hpp'

Hi!

I’m trying to add the xml parser ‘pugixml’ to my C++ class. I can build the class on VS2013 and play the game in the editor and all works perfectly. The problem is when I try to package the game.

I have this error:

I looked for my problem and I tried a lot of solutions that people post in answers, but nothing works. I tried to modify the build.cs of my project in this way:

PublicDependencyModuleNames.AddRange(new string[] { “Core”, “CoreUObject”, “Engine”, “InputCore”, “pugiconfig” });

But I can’t build it:

1>EXEC : error : Couldn’t find module rules file for module ‘pugiconfig’.

I tried to copy .hpp .cpp of pugixml into folder Intermediate\ProjectFiles but nothing happened.

I’m using 4.7.6 version and VS2013 community.

Thanks for any help.