In
<http://groups-beta.google.com/group/microsoft.public.dotnet.languages.csharp/msg/05abaf8460c61859>,
back in 2003, "SleazySt" wrote that
Unfortunately, C# projects can't have resource scripts.
Resources added to .NET applications by adding them to
the project and designating them an "Embedded Resource"
are included in a new .NET-specific format that's not
compatible with previous methods. The only icon you
can correctly embed in your application using C# on
VS.NET is the application icon, accessible from the
project properties. If you need additional icons --
e.g. an icon to represent a document file handled
by your app rather than to represent the app itself
-- you'll need to either include the ICO files
themselves, or compile a DLL with C++ with your
icons embedded.
Is this still true? I am trying to associate an icon with my
documents; I'm using the Inno Setup installer
<http://www.jrsoftware.org/isinfo.php> and finding that its
instructions for associating a file based on an embedded icon don't
work for the second icon in the file, although they work for the first
icon. I would prefer not to clutter my users' disks with any more
files than necessary, so the embedded resource route looks nice - if it
will work.
Thanks,
--Carl