MVVM Common app.config
|September 14, 2014||Posted by forumadmin under TechQns||
I have MVVM application which consume an external service via WCF.
The WCF client configuration is in the app.config of the ViewModel which makes it impossible for the application to read it since the View is the start-up project so the application uses the View’s configuration file.
Unless I copy the ViewModel’s config file to the View config file, it couldn’t load the configuration properly.
Is there any way to refer all the projects in the solution to one common configuration file?
|Asked By – Jacob||Read Answers|