How to create config file for dll

G

Guest

I use my assembly from asp and I need to config the dll from config file.
What is the better way to do this?
I don't want to hardcode file path in my dll (because
AppDomain.CurrentDomain.BaseDirectory="C:\windows\system32") and I don't know
where exactly my dll will be placed on the customer's pc or in GAC.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top