How to add include path and win32 .lib files to .wapproj ( Windows Application packaging project for Visual C++ .NET /CLI WinForm application ) ?

RICKY GAI 1 Reputation point

I am having issues on publishing a Visual C++ /CLI WinForm application using Windows Application packaging project to Windows Store.

At Windows Application packaging project stage:

  1. it cannot find the .h files where I have specified to the .vcxproj
  2. it is not linking the win32 .lib files such as User32.lib

Here is the video link that described the current problem.


  1. How to add the include search path to the .wapproj file ?
  2. How to add win32 .lib library files to .wapproj file ?

I don't see any option available to add the above two statements mentioned aside the .wapproj merely.

Please advise.

A cross-platform toolchain for developing, building, running, and publishing .NET applications.
315 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RICKY GAI 1 Reputation point

    I resolved the problem by adding the my custom .h files folder to the "Additional Include Directories" to C/C++ and Linker of Configuration Properties for "Debug", "Release" and its respective Platform "Win32" and "x64" as shown below:


    0 comments No comments