locked
WinRT component with additional dll dependencies

    Question

  • I have the following solution layout:

    Project: WinJS app

      Reference: C++ WinRT Component  (net.acme)

      app.js

      app.html

    Project: C++ WinRT Component (net.acme)

      acme.cpp

      acme.h

      3rdparty.dll

      

    The code in acme.cpp uses LoadPackagedLibrary to load 3rdparty.dll which fails because VS2013 deploys the 3rdparty dll into the "net.acme" subfolder of the WinJS output folder instead of putting it right besides the net.acme.dll and net.acme.winmd

    How do I force VS to put all the net.acme output and the 3rdparty.dll into the same folder inside the outfolder of the WinJS project?

    Thursday, February 6, 2014 1:46 PM

All replies

  • Hi phil,

    Why do you need 3rdparty dll deploy beside winmd? If the dll locates in other folder, you cannot ref it?

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Friday, February 7, 2014 10:00 AM
    Moderator