RichardRiga
asked on
VS 2005 question: Why am I losing my configuration files on build?
Here's the problem. My configuration files for a web service and several dlls seem to have just vanished after I build the solution.
Now the web service works just fine; however, I use those config files to change app settings on the fly without having to recompile... but cannot do that here because they no longer exist. And, man, I need them to exist.
Now, its my understanding that all of the My.settings settings are stored into configuration files named after the DLL or app they are associated with (example: SomeDLL.dll.config). Its always been that way when I did a regular app.
This web service, though, seems to embed them.
Any help on getting this fixed is greatly appreciated. An explanation would be nice, too!
Now the web service works just fine; however, I use those config files to change app settings on the fly without having to recompile... but cannot do that here because they no longer exist. And, man, I need them to exist.
Now, its my understanding that all of the My.settings settings are stored into configuration files named after the DLL or app they are associated with (example: SomeDLL.dll.config). Its always been that way when I did a regular app.
This web service, though, seems to embed them.
Any help on getting this fixed is greatly appreciated. An explanation would be nice, too!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I saw My.settings setting, which normally suggests a Windows Forms application. Did you add a web.config file from the Add New Item dialog to the web service root folder?
ASKER
its a multiple project solution. One project is a web service (and it does have a web.config which shows up). The other project is a COM+ service with multiple DLLs. Those DLLs use the my.settings. On compile they don't have dll.config files generated. They seem to be embedded. I want to a) know why and b) stop it so that i have my config files back so end users can config.
"They seem to be embedded. I want to a) know why and b) stop it so that i have my config files back so end users can config."
That doesn't make sense, so you will have to figure out how to explain that one better.
That doesn't make sense, so you will have to figure out how to explain that one better.
ASKER
got what you said now. i'm slow. thanks
ASKER