Settings for Solution

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
 
M

Michael Nemtsev

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
 
P

PS

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top