Thanks for the tip.  ILSpy seems to be a very helpful tool.  There were
several issues, but basically I had set the EmbeddedResource property on the
messages.xml file, when what was needed was to set that property to 'none'
and generate a 'messages.resources' file with MsgGen, which was added to the
project, along with the class file, with the EmbeddedResource set on the
messages.resources file.

Code in my prior post, which resulted in the listed exception and stack
trace was creating a messages.res file which had no strings in it.  So while
the empty message.res 'property' and the 'messages.xml' embedded property
(as displayed by ILSpy, both had the same URI '<namespace>.Data.Messages'
the code could not find the string in the empty container resulting in the
candle {0,0} exception and the embedded messages.xml was not a valid
resources format.

I now have messages derived from WixErrorEventArgs, WixWarningEventArgs, and
WixVerboseEventArgs displaying in the Output window at compile time of the
'host' project.  The later 'Verbose' message at Level="Information" is only
displayed when the host project's property has Verbose checked.

Is there a way to display an Information message to the Output window,
without having to set the 'Verbose' property and without it being either an
Error or a Warning.

I am thinking of a message in the Output log (which would be archived as a
record of the build) which simply states the version of the my compiler
extension which was used at the time of the build. 

Thanks for the assistance!
Phill





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WixExtension-how-to-use-a-messages-xml-file-tp7592715p7592991.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to