Hello,
I have a Web application that consumes a DLL and I am having trouble with the application settings of the DLL.
In the DLL project, I created an app.config file and added 1 application setting:
<applicationSettings>
<ClassLibrary1.My.MySettings>
<setting name="DBLocalDataSource" serializeAs="String">
<value>Path1\MyDb1.mdb</value>
</setting>
</ClassLibrary1.My.MySettings>
</applicationSettings>The code in my class is as simple as this:
Public Class Class1
Public DbSource As String
Sub New()
Me.DbSource = My.Settings.DBLocalDataSource
End Sub
End Class
I compiled the DLL, copied the .dll into the bin folder of my web application, created the reference, all is good here.
Then in the Web.config fi ...
Go to the complete details ...