Settings for Solution

  • Thread starter Thread starter Irfan
  • Start date Start date
I

Irfan

hi,

Is there a way to set the settings for a solution so that all the projects
can access those settings? I have a DB Connection
which is accessed by more than one project in the solution?

Regards,
Irfan
 
Hello Irfan,

Create separate project with the class that will return your common data
or read data manually from the external global config that u need to create

I> hi,
I>
I> Is there a way to set the settings for a solution so that all the
I> projects
I> can access those settings? I have a DB Connection
I> which is accessed by more than one project in the solution?
I> Regards,
I> Irfan
---
WBR,
Michael Nemtsev [C# MVP] :: 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 Nietzsch
 
Irfan said:
hi,

Is there a way to set the settings for a solution so that all the projects
can access those settings? I have a DB Connection
which is accessed by more than one project in the solution?

Assuming you have an app.config file in one project that you want to use in
the other projects then you can add an existing item and link to that file
from each project.

SP
 
Back
Top