Adding DLL reference as part of Install.ps1 of Nuget for WiX RRS feed

  • Question

  • I am sorry if I picked the wrong category, since I couldn't find the correct category for posting my issue and I desperately need help.

    I am building a Nuget package for some WiX elements which include some WiX extension dlls which are part of WiXToolSet. If I include the dlls into lib folder and build the package and add / install it on a WiX Setup project, the dlls don't get added to the References. I somehow managed to work with the .csproj file (as XML) in the install.ps1 and tried to add the dll, but the other elements added by the Nuget package are getting removed. It will be great, if some one can provide the syntax to add a DLL to references through install.ps1.

    Note: I tried putting the WiX extension dlls inside a framework folder (like 4.7) inside lib folder, but they are not working, since they are not .Net dlls, but WiX dlls. Any help will be greatly appreciated.


    • Moved by CoolDadTx Wednesday, July 24, 2019 3:58 PM Third party product
    Wednesday, July 24, 2019 2:06 PM

All replies