Missing support to manipulate win32 resources in modules. #3

jbevain opened this Issue Apr 13, 2010 · 6 comments


None yet
3 participants

jbevain commented Apr 13, 2010

Cecil can round-trip an assembly containing win32 resources, and will preserve them, but doesn't offer a way to add / modify / remove win32 resources.

JB, if you're still planning to implement this, perhaps you could adapt the code from ResourceLib (http://resourcelib.codeplex.com/). It's an MIT-licensed project for manipulating Win32 resources in an assembly.


jbevain commented Nov 5, 2011


Thanks for the suggestion, it's definitely a planned feature for 1.0.

@carlokok also has some code for that in his fork.

Now I only need to take the time to take care of it :)

With a MIT license and the code now on Github, I have to agree with @jack-pappas in that ResourceLib looks like an excellent contender for solving this. As far as I understand the licensing, the code can just be copied from ResourceLib and into Cecil; no references required (although I wouldn't necessarily oppose a NuGet dependency).


jbevain commented Mar 17, 2015

@asbjornu except that the code is full of pinvokes and apparently reads directly from the file on disk by doing a win32 LoadLibrary. Not quite the approach we want :)

That's not a very crossplatform way to do it, no. 😄 Please let me know if there's anything I can do to help get this implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment