G
Guest
Hi,
A I use shell functions in my C# project, I need to add a reference to
shell32.dll. When I browse to shell32.dll and add it as a reference to my
project a file called Interop.Shell32.dll is created in the directory of the
executable. When I delete this file, the program crashes (as expected)
because it cant find it. My question is:
How do I avoid having this file lingering around? I know it is necessary for
my program but I want to distribute to customers the executable only and no
additional files. Is there a way to embed Interop.Shell32.dll somehow in the
executable image?
Thanks
A I use shell functions in my C# project, I need to add a reference to
shell32.dll. When I browse to shell32.dll and add it as a reference to my
project a file called Interop.Shell32.dll is created in the directory of the
executable. When I delete this file, the program crashes (as expected)
because it cant find it. My question is:
How do I avoid having this file lingering around? I know it is necessary for
my program but I want to distribute to customers the executable only and no
additional files. Is there a way to embed Interop.Shell32.dll somehow in the
executable image?
Thanks