This project is read-only.

Allow ILMerge to be conditional


The ILMerge build process is integrated regardless of selected Configuration and Platform.

For projects targeting .NET runtime 2 it will break debugging:
Error while trying to run project: Could not load file or assembly 'XXX' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Unless is fixed.

For larger projects it will increase the compile & debug time alot which may be undesired since only the Release configuration could be targeted for ILMerge.

Suggested solution is to add conditions to the ILMerge.props file. Perhaps an expression that could be evaluated; e.g.: '$(Configuration)' != 'Debug'


archnae wrote Mar 7, 2016 at 11:18 AM

missed this one for 1.0.5...