Missing support to manipulate win32 resources in modules. #3

Open
opened 2010-04-13 07:49:23 -05:00 by jbevain · 6 comments
jbevain commented 2010-04-13 07:49:23 -05:00 (Migrated from github.com)

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.

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.
jack-pappas commented 2011-11-05 11:12:20 -05:00 (Migrated from github.com)

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.

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 2011-11-05 11:15:59 -05:00 (Migrated from github.com)

Hey.

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 :)

Hey. 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 :)
jbevain commented 2015-03-17 08:13:11 -05:00 (Migrated from github.com)
Reader/Writer from Cecil 0.6: https://github.com/mono/cecil-old/blob/master/old/Mono.Cecil.Binary/ResourceReader.cs https://github.com/mono/cecil-old/blob/master/old/Mono.Cecil.Binary/ResourceWriter.cs
asbjornu commented 2015-03-17 10:16:43 -05:00 (Migrated from github.com)

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).

With a MIT license and the [code now on Github](https://github.com/dblock/resourcelib), 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 2015-03-17 10:45:49 -05:00 (Migrated from github.com)

@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 :)

@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 :)
asbjornu commented 2015-03-17 14:57:50 -05:00 (Migrated from github.com)

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.

That's not a very crossplatform way to do it, no. :smile: Please let me know if there's anything I can do to help get this implemented.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-jbevain/cecil#3
No description provided.