T
Techno_Dex
I have an assembly (dll) which contains home rolled C# UI controls that are
used in multiple applications in house. Some of these UI controls I would
like to have read some settings from the currently running application
*.config file but with the new .NET 2.0 configuration changes I'm seeing how
this is possible. I looked into creating an ApplicationSettingBase class
which would contain my custom settings configurations, but when trying to
create the properties which would be used to load it, I discovered that I
can't access the <Assembly>.Properties namespace since my assembly is not an
exe. I don't want to hard code an assembly namespace in either as that
would defeat the purpose of having a UI Controls assembly. Is there any way
in the .NET 2.0 structure to have say a third party dll which contains user
controls which are used in an application and can read from that
application's *.config file? What am I missing???
used in multiple applications in house. Some of these UI controls I would
like to have read some settings from the currently running application
*.config file but with the new .NET 2.0 configuration changes I'm seeing how
this is possible. I looked into creating an ApplicationSettingBase class
which would contain my custom settings configurations, but when trying to
create the properties which would be used to load it, I discovered that I
can't access the <Assembly>.Properties namespace since my assembly is not an
exe. I don't want to hard code an assembly namespace in either as that
would defeat the purpose of having a UI Controls assembly. Is there any way
in the .NET 2.0 structure to have say a third party dll which contains user
controls which are used in an application and can read from that
application's *.config file? What am I missing???