Sorry, wrong group.
"Reverend" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm out of ideas at this point. I have a WinForms application and an
> Assembly (dll). The Assembly, lets call it "Foo" has an App.config file
> located in Foo/Bin/Debug
> If I modify this file outside the IDE and reload the Settings file in the
> IDE it will pick up the change and ask if I want to update. Good, the
> file is backing the settings, I get that.
>
> When I build my solution the Foo/Bin/Debug/App.config file is copied to
> the primary application output folder and renamed. So it will now be
> WinFormApp/Bin/Debug/Foo.dll.config
>
> What is really throwing me for a loop is that if I modify a value in this
> file my application is NOT picking up the modified value. I have tried
> exiting the application, modifying the Foo.dll.config file, restarting the
> application and it's still pulling the values that it was compiled with.
>
> What is the point of the configuration file if they are ignored?
>
> I also just noticed that the Foo Settings file is not setup to copy to the
> output directory (Copy to Output Directory = Do Not Copy) and the Build
> Action is None.
>
> Anyone know what's going on? Is there a way to make the settings ACTUALLY
> read the values from the config file?
> Thanks for any help.
>
|