Can't use extensions assembly built from Netfx.wixext repo with Candle.exe #6302
-
I'm building the https://github.com/wixtoolset/Netfx.wixext repo (sync'd to master with no local changes) and trying to use the generated assembly WixToolset.Netfx.wixext.dll from the v4 version of Candle like so: Candle.exe MyExample.wxs -"MyBuiltBinaryPath\WixToolset.Netfx.wixext.dll" But this doesn't work. I've tried this with MyExample.wxs using Netfx.wixext in various ways (PropertyRef to "WIX_IS_NETFRAMEWORK_462_OR_LATER_INSTALLED", adding netfx:NativeImage element, etc.), all of which work as expected if I use WixNetFxExtension.dll from the 4.0 toolset. This repo produces two versions of WixToolset.Netfx.wixext.dll, each of which fail differently:
candle.exe : error CNDL0001 : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. Exception Type: System.Reflection.ReflectionTypeLoadException Stack Trace: Is there a special way that I need to build and/or consume the output of this repo?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@MSLukeWest The WiX Toolset does not use GitHub issues for support. I have converted this issue into a discussion item, which is an experiment that we're trying out. Alternatively, you may want to ask your question on the wix-users mailing list or Stack Overflow. candle.exe is v3.x. The Netfx.wixext repo is 4.x. You cannot use a 4.x extension with 3.x. |
Beta Was this translation helpful? Give feedback.
-
That version of v4 candle.exe is too old to use the .wixext from this repo. More specifically candle.exe was removed from v4 before that point in You'll need wix.exe to experiment with the latest .wixexts |
Beta Was this translation helpful? Give feedback.
That version of v4 candle.exe is too old to use the .wixext from this repo. More specifically candle.exe was removed from v4 before that point in
master
.You'll need wix.exe to experiment with the latest .wixexts