Ignacio Soler Garcia
Ignacio Soler Garcia

Reputation: 21855

How to insert a file g.resources into an Assembly

I need to modify an assembly changing one resource. I've already extracted the resource and modified it but now I cannot find the way to embed it again into the assembly. I've tried with ildasm but seems like it wants a .res resource file and I just have a xxx.g.resources file.

Any ideas?

Thanks

Upvotes: 1

Views: 1203

Answers (2)

Sagar
Sagar

Reputation: 599

One way to add contents of "*.Config" file to ".g.resources" file is by changing "Build Action" property value of config file to "Resource".

I hope this helps someone.

Upvotes: 0

Raúl Otaño
Raúl Otaño

Reputation: 4760

It is just an idea: Maybe you could to create a new assembly where you could to include the new resources, and also the other "things" that you do not modified. Maybe you can extract this other "things" in the same way you extract the resources...

Upvotes: 1

Related Questions