1

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

Jens Björnhager
  • 5,632
  • 3
  • 27
  • 47
Ignacio Soler Garcia
  • 21,122
  • 31
  • 128
  • 207

2 Answers2

1

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

Raúl Otaño
  • 4,640
  • 3
  • 31
  • 65
0

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.

Sagar
  • 579
  • 5
  • 7
  • This is not related at all with what I was asking got. – Ignacio Soler Garcia Jun 03 '16 at 06:59
  • Understood. But, doing exactly this resolved the issue I was having with my client's existing application, which at run time reads from ".g.resources" file and uses its contents. So, I thought posting it here may help someone. – Sagar Jun 03 '16 at 19:14