Embed resource in .NET Assembly without assembly prefix?

Posted by Robert Fraser on Stack Overflow See other posts from Stack Overflow or by Robert Fraser
Published on 2010-03-16T12:09:51Z Indexed on 2010/03/16 12:16 UTC
Read the original article Hit count: 375

Hi all,

When you embed a reosurce into a .NET assembly using Visual Studio, it is prefixed with the assembly name. However, assemblies can have embedded resources that are not assembly-name-prefixed. The only way I can see to do this is to disassemble the assembly using ildasm, then re-assemble it, adding the new resource -- which works, but... do I really need to finish that sentence?

(Desktop .NET Framework 3.5, VS 2008 SP1, C#, Win7 Enterprise x64)

Thanks, All the best, Robert

© Stack Overflow or respective owner

Related posts about .NET

Related posts about embedded-resource