Designer for Wix Toolset not Add all DLLs

Add-in Express™ Support Service
That's what is more important than anything else

Designer for Wix Toolset not Add all DLLs
 
Thomas Lauer




Posts: 65
Joined: 2011-01-24
Hi,

i use the Designer for WiX Toolset in VS2017. When i try to a
the project output from my project. the designer not add all
dependencies of my project.

what need the Designer to add a DLL?

best regards
Thomas
Posted 18 Apr, 2018 09:03:52 Top
Andrei Smolin


Add-in Express team


Posts: 14899
Joined: 2006-05-11
Hello Thomas,

Thomas Lauer writes:
the designer not add all dependencies of my project


All dependencies? Are you saying that it misses some dependencies? If so, are these dependencies native-code DLLs? If so, this is expected.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 19 Apr, 2018 03:40:28 Top
Thomas Lauer




Posts: 65
Joined: 2011-01-24
Not all, some DLLs are missed. The missed DLLs are from nuget Packetes.
Posted 19 Apr, 2018 07:25:22 Top
Andrei Smolin


Add-in Express team


Posts: 14899
Joined: 2006-05-11
Thomas,

This works for me.

I create a Windows Forms Application project (project #1) and add Newtonsoft.Json to the project. This creates a reference to Newtonsoft.Json.dll. If I create a setup project and use the WiX Designer to add the Primary Output of project #1 to the setup project folder, the WiX Designer scans the references and retrieves them (except for those in GAC) and adds adds them to the setup project folder. In my case both project #1 and setup project point to {project folder path}\packages\Newtonsoft.Json.11.0.2\lib\net40\Newtonsoft.Json.dll.

Are the packages missing referenced by your project? If there is a specific package producing this issue on your side, I could check if the above schema works for this package on my side.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 19 Apr, 2018 10:14:51 Top