|
-
February 6th, 2009, 09:31 AM
#1
config fiels in .Net
Hello All I am developing an application in C# and I have my project split the following way :
1. Windows project which contains all of the UI stuff
2. Core project which contains the core functinality
3. Service project which contains all the stuff related to a service which needs to be running in the backgroud
THe issue is that I need to have the user enter some data during installation and the application uses that data. ( all three of the projects need that data)
I have created a Settings file which has the fields that are needed and then during installation I
collect the information and override the config file.
So I have name.Windows.exe -
name.Service.exe
name.Core.dll projects
and they all need to use the data entered by the user during installation.
how can I achieve that?
I have tried creating two config files - one for the service and one for the WIndows
but HOw do I get the information to my Core.dll
There seems to be a problem when I do that - the .dll never updates with the user information but always uses the default values I had during design time.
THanks very much in advance....I really need help with this
Susan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|