Thanks Jb - I was able to create a linked resource using the csc / linkresource command. Turns out VS supports embedded resources only.
Is it possible to get a list of Win32 resources (compiled with csc / win32res) using Cecil? On Sep 15, 2:47 am, Jb Evain <[email protected]> wrote: > Hey, > > On Wed, Sep 15, 2010 at 7:25 AM, Roman <[email protected]> wrote: > > Hi - I have added a Resources.resx file to my project using Visual > > Studio project properties and within it I added an existing image file > > using Add Resource -> Add Existing File button. The properties for the > > image file show that Persistence = "Linked at compile time" and I set > > the Access Modifier to Internal. > > > When I analyze the DLL using Cecil, it only finds > > MyProject.Properties.Resources.resources with ResourceType = Embedded > > and IsPublic = True. Did I create the linked resource incorrectly? How > > can I get it to see the linked image with the ResourceType of Linked > > (or AssemblyLinked)? > > I guess VS treats resx resources differently. I'm not sure how you can > control how managed resources are embedded/linked inside VS, you can > however do it with csc. > > -- > Jb Evain <[email protected]> -- -- mono-cecil
