Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing support to manipulate win32 resources in modules. #3

Open
jbevain opened this issue Apr 13, 2010 · 6 comments
Open

Missing support to manipulate win32 resources in modules. #3

jbevain opened this issue Apr 13, 2010 · 6 comments

Comments

@jbevain
Copy link
Owner

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.

@jack-pappas
Copy link

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
Copy link
Owner Author

jbevain commented Nov 5, 2011

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

@asbjornu
Copy link

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
Copy link
Owner Author

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

@asbjornu
Copy link

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.

Tak referenced this issue in Unity-Technologies/cecil Jun 17, 2015
Allow upstream consumers to override build settings
jbevain pushed a commit that referenced this issue Jun 15, 2016
…ns_tests2

Added tests for windows runtime projections.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants