Re: Why VS2005.IDE adds app.config to C# Class Library projects?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello Maxwell2006,

M> As far as I know, a class library project cannot have any app.config
M> dedicated to itself and it always depends on the main application to
M> provide the .config settings.

yep, but you can use Xml to open file manually and use it

M> Based on above, I am confused when I see that VS2005 adds an
M> app.config file upon I add a web service to my dll class library and
M> stores the URL address to the asmx file within that app.config file.
M> Obviously that app.config file is useless. Do I miss any best
M> practices or this is a problem within visual studio 2005 IDE?

AFAIK, in this case App.config is not used at all, at least it works fine where I met this

---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche


.