Before really coming to my problem….A happy valentine’s day to everyone and yeah….i am still single..
. Anyways coming to my problem, recently with something very odd requirement. In my project we have two application, one is normal windows application and other is Windows Service. Now in window service solution i created a new project class library so that any other application can add as a reference and consume the windows service functionality. Now after building my project i am adding reference in my other application. Now when i am calling the function of that Dll from my application, dll uses the app.config of windows application through it is getting called (which is quite obvious and correct). Now i don’t want tht. What i want is when a dll function is called it should consume the app.config of that dll rather than its parent application. But it seems its not possible and wasted my whole day coming out with some solution. Even i googled a lot but all in vain. I am still searching for the solution….if anyone got some idea….pls comment or mail me….
Rishi