Question

I'd like to offer my .Net library (which I'm developing in the SharpDevelop IDE) as a single dll. I've been manually using ILMerge to merge my compiled library and all its reference libraries together, but would like this done automatically.

I'd ideally like to have this automatic merge happen from within SharpDevelop, without having to set up an external build script. Is this possible?

Was it helpful?

Solution

SharpDevelop uses MSBuild to compile your code so the simplest way would be to create a post build step that runs ILMerge with the correct parameters. You can create a post build step from the Project Options under the Build Events tab. Alternatively you can directly edit your project file in Notepad.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top