T
Thomas Locke
Hi,
I have a class library project with an app.config file in it.
Everything I have read indicates that VS.Net will copy and rename the
app.config file into the bin/ directory when I build the project.
But all the examples show the project as having myapp.exe and that
creates myapp.exe.config.
However, my project simply produces a myapp.dll file. I can't find any
documentation to support this, but I would think that VS.Net would
create myapp.dll.config based on my app.config file.
But that's not happening. I tried to manually copy the app.config file
and rename it in the /bin directory, but any call to
AppSettings("key") doesn't return a value. It doesn't throw an error,
but it just doesn't return anything.
Any ideas?
Thanks!
--Kevin
I have a class library project with an app.config file in it.
Everything I have read indicates that VS.Net will copy and rename the
app.config file into the bin/ directory when I build the project.
But all the examples show the project as having myapp.exe and that
creates myapp.exe.config.
However, my project simply produces a myapp.dll file. I can't find any
documentation to support this, but I would think that VS.Net would
create myapp.dll.config based on my app.config file.
But that's not happening. I tried to manually copy the app.config file
and rename it in the /bin directory, but any call to
AppSettings("key") doesn't return a value. It doesn't throw an error,
but it just doesn't return anything.
Any ideas?
Thanks!
--Kevin