Re: app.config and assembly config in My.Config
- From: Bart <bartVDA@xxxxxxxxxxxxxxxx>
- Date: Wed, 6 Sep 2006 05:25:02 -0700
Hi Michael,
It is just a class library (my datalayer of a winforms app)
A setting for example is the connectionstring.
I cannot change it on deployment.
Thanks
art
"Michael Nemtsev" wrote:
Hello Bart,.
Right. Class library can't have it's own config, only dll's host application
can have it
What kind of app is datalayer.dll? just class library or mb COM+?
BTW u can keep datalayer.config and use content manually via System.Xml namespace
B> Hi Michael,
B>
B> I have an assembly called datalayer.dll. When I compile this dll
B> separate
B> datalayer.config is generated.
B> When I compile my project called MyApp for example, only MyApp.config
B> is
B> generated.
B> I tried to copy the datalayer.config file to my app folder but it
B> seems that
B> my settings are not picked up by datalayer.dll.
B> Thanks
B> Bart
B> "Michael Nemtsev" wrote:
B>
---Hello Bart,
B> What is the best approach to deal with My.config and assemblies.
use System.Configuration to read data from config
What do u mean by "deap with assemblies"
B> When I compile an application the app.config is generated but not
the B> assembly.config.
in generated into <projectName>.exe.config
B> I tried to add those setting in the application.config but this is
B> not
B> working.
B> How can this be done?
Could u desribe it wide?
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents
do not cease to be insipid." (c) Friedrich Nietzsche
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
- References:
- Re: app.config and assembly config in My.Config
- From: Michael Nemtsev
- Re: app.config and assembly config in My.Config
- From: Michael Nemtsev
- Re: app.config and assembly config in My.Config
- Prev by Date: Re: Periodic housekeeping code strategy?
- Next by Date: RE: app.config and assembly config in My.Config
- Previous by thread: Re: app.config and assembly config in My.Config
- Next by thread: RE: app.config and assembly config in My.Config
- Index(es):
Relevant Pages
|