Is it possible to read/write the app.config file from another solution at runtime?
Regards,
Raks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are looking to expose configuration settings between applications… or exposing settings in AppA that AppB can monitor and manage, then you can write a WMI Provider for your application that exposes those properties to a ‘MyApp’ WMI namespace (which your provider registers with WMI)… then other applications (.NET, PowerShell) can view and manage those settings…
http://msdn.microsoft.com/en-us/library/bb404677(v=vs.90).aspx
This describes how to create a MortgageCalcWMIProvider class… it first registers the root/MortgageCalc namespace… which is used by the Calculator app below:
http://msdn.microsoft.com/en-us/library/bb404679(v=vs.90).aspx
O