Article View: borland.public.csharpbuilder.ide.general
Article #58Embedding arbitrary file as resource
From: Art Sherwood
Date: Sat, 12 Nov 2005 00:41
Date: Sat, 12 Nov 2005 00:41
11 lines
1474 bytes
1474 bytes
How can I embed an arbitrary file as a resource in C# project in D2005? I can add the files to the project but the compiler does not know what to do with them. I suppose it has something to do with the ContainerID attribute of the files in the project file list. I know if I add a bitmap file to the project, it sets the ContainerID to "Bmp", likewise .resx files get a "ResXCompiler" ContainerID. Is there a way I can add my own custom ContainerIDs? Thanks -Art
Technical Details
Message-ID:
<43753a22$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 165859,41ec51724171880a,start X-Google-Attributes: gid165859,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Art Sherwood" <art.sherwood@medsphere.com> From: "Art Sherwood" <art.sherwood@medsphere.com> Newsgroups: borland.public.csharpbuilder.ide.general Subject: Embedding arbitrary file as resource Date: Fri, 11 Nov 2005 16:41:43 -0800 Lines: 13 Organization: Medsphere Systems Corporation X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 NNTP-Posting-Host: 70.183.17.66 Message-ID: <43753a22$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1131756066 70.183.17.66 (11 Nov 2005 16:41:06 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail