Search code examples
c#.netwpfnugetwix

Nuget resources .dll generating with WIX in WPF app


I have a WPF project which uses my nuget. This nuget implements localization, so it be able to be display resources in different languages, when i build my project which uses this nuget then the build folder contains the proper localization dll files for nuget package, but when i deploy the application with WIX, then after the installation the app's folder does not contain the proper nuget resources dll files.

How to solve this problem?

I would like to use my nuget with different string localization in the installed version as same as local version.


Solution

  • I have already found a solution, when you use wix tool editor in Visual Studio, you can choose this toggle button (see the screenshot below), which display external resources which come from .dll files (exactly the nuget resources.dll file in this case), and you are able to add these files to your Product.wxs configuration.

    link to image

    Feel free to use this solution.