Apparently, ILMerge does not work with WPF.
I have tried another method, and have a problem with that.
I will start a new question on that issue ...
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
What I am trying to do is very straightforward (or it should be).
I am trying to merge all of my DLLs and associated resources into a single executable with Visual Studio 2017 Community using ILMerge. I get the following error:
Error ILMerge.Merge: ERROR!!: Duplicate type 'XamlGeneratedNamespace.GeneratedInternalTypeHelper' found in assembly 'xxxx.WPF'. Do you want to use the /allowDup option? Primary_Calc_Console_01
I see that an ILMerge.props file has been introduced after the installation. Presumably, this is a config file for ILMerge (?).
I see the following tag in the config file: <!-- added in Version 1.0.4, default=none --> <ILMergeAllowDuplicateType></ILMergeAllowDuplicateType>
I cannot find anything in the way of a schema for that file.
Can someone tell me what value I should give it to allow duplicate types?
THANKS!
Apparently, ILMerge does not work with WPF.
I have tried another method, and have a problem with that.
I will start a new question on that issue ...