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

  • Thread starter Thread starter Venh
  • Start date Start date
V

Venh

Guest
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.


Ven

Continue reading...
 
Back
Top