The combobox contains the detected frameworks on your computer and uses the selection to set the
I assumed it did not much more then mark the executable as requiring a particular framework (preferably the correct one).
But the text from
ILMerge.doc suggest just just what you experienced. It will however only work (my guess) if you only use features from the target framework (so for example no Lisnq calls for a target v1.1).
This method sets the .NET Framework for the target assembly to be the one specified by
platform. Valid strings for the first argument are "v1", "v1.1", and "v2". The "v" is case
insensitive and is also optional. This way ILMerge can be used to "cross-compile", i.e.,
it can run in one version of the framework and generate the target assembly so it will run
under a different assembly. The second argument is the directory in which mscorlib.dll
is to be found. NOTE: This option exists only in the v2 version of ILMerge, not the v1.1
Bottom line: quite an iteresting feature.
Wim van der Vegt