1

Closed

Add Nuget package including WixSharp.wix.bin

description

Would it be possible to maintain an additional NuGet package which also includes WixSharp.wix.bin as well as a reference to the bin folder so that we don't need to maintain that reference manually?
I prefer keeping all my dependencies in NuGet so that I don't need to worry about other developers in the team installing the correct versions etc.
Unfortunately, with WixSharp depending on wix toolset but not having the dependency in the nuget package I need to manually either maintain the folder in the installer code or (the way I decided to do it) create a .targets file in the solution folder with the following line - which I need to manually maintain whenever the Wix package is updated.
<SetEnvVar Values="WIXSHARP_WIXDIR=$(SolutionDir)\packages\WixSharp.wix.bin.3.10.1\tools\bin; .....
Not a huge deal, but a nice solution would be to have another Nuget package with everything needed by WixSharp as well as this config hard-coded.
Closed Dec 3, 2016 at 8:22 AM by oleg_s
Fixed in v1.1

comments

oleg_s wrote Nov 18, 2016 at 4:05 AM

I see your point.
I will see if I can add optional default "auto linking" WixSharp.Compiler to WiX SDK package (WixSharp.wix.bin) if found.

Anyway compiler already does the probing for the WiX tools: WIXSHARP_WIXDIR, local, ProgramFiles.
I'll just extend it with NuGet package probing and it should work.

Thank you for your feedback.

oleg_s wrote Nov 18, 2016 at 10:14 AM

Done. commit#b799b6c22d84
Will be available in the next release.

oleg_s wrote Dec 2, 2016 at 10:45 AM

Fied in Release v1.1.0