🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.ide.general
Article #53

Re: Embedding XML as resource

#53
From: Tobias Grimm
Date: Mon, 05 Sep 2005 08:25
17 lines
1619 bytes
Marc Rohloff [TeamB] wrote:

>>What I want to do is simply to embedd an XML as a resource in an 
>>assembly. (Need to add a NHibernate mapping file)
> 
>>But what about C# builder? There must be an easy way too!
> 
> You can normally just add the file to the project manager.

That's how it works with VS, but not with D2005. Of course I can add a 
xml file to my assembly project, but it doesn't get added as resource to 
the final dll. Have you tested this? If this works for you, please send 
me a small example.

Regards,

Tobias
Technical Details
Message-ID: <431c00a6$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.gamma.ru!Gamma.RU!nntp.theplanet.net!inewsm1.nntp.theplanet.net!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43186564$1@newsgroups.borland.com> <1eoi12mx2iu2i$.dlg@marcrohloff.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 165859,f6c9c44f8a60af46
X-Google-Attributes: gid165859,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 05 Sep 2005 10:25:09 +0200
From: Tobias Grimm <tobias.grimm@cas-soft.de>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.csharpbuilder.ide.general
Subject: Re: Embedding XML as resource
References: <43186564$1@newsgroups.borland.com> <1eoi12mx2iu2i$.dlg@marcrohloff.com>
In-Reply-To: <1eoi12mx2iu2i$.dlg@marcrohloff.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 84.184.75.183
Message-ID: <431c00a6$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1125908646 84.184.75.183 (5 Sep 2005 01:24:06 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.gamma.ru!Gamma.RU!nntp.theplanet.net!inewsm1.nntp.theplanet.net!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail