home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
Config File Corruption
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mm1352000" data-source="post: 1184495" data-attributes="member: 82144"><p>Hi</p><p></p><p></p><p>There are two CONFIG files because there are two EXE files.</p><p></p><p>As the file extension (.config) suggests, these files are intended to contain configuration for the associated EXE file. So, MediaPortal.exe.config contains configuration for MediaPortal.exe (MediaPortal), and Configuration.exe.config contains configuration for Configuration.exe (MediaPortal Configuration). </p><p></p><p>The content is not intended to be the same.</p><p></p><p></p><p>Not by MP or MP Config, because MP's configuration (ie. all the settings you configure in MP Config) is stored in MediaPortal.xml. However they're read by the <a href="https://msdn.microsoft.com/en-us/library/8bs2ecf4%28v=vs.110%29.aspx" target="_blank">CLR</a> when the application is started and/or running.</p><p></p><p>Note that this answer only applies for MP. Some applications store both their custom configuration as well as the CLR application configuration in the CONFIG file.</p><p></p><p>For more information about CONFIG files:</p><p><a href="http://www.codeproject.com/Articles/616065/Why-Where-and-How-of-NET-Configuration-Files" target="_blank">http://www.codeproject.com/Articles/616065/Why-Where-and-How-of-NET-Configuration-Files</a></p><p><a href="https://msdn.microsoft.com/en-us/library/1xtk877y%28v=vs.110%29.aspx" target="_blank">https://msdn.microsoft.com/en-us/library/1xtk877y(v=vs.110).aspx</a></p><p><a href="https://msdn.microsoft.com/en-us/library/ms229689(v=vs.90).aspx" target="_blank">https://msdn.microsoft.com/en-us/library/ms229689(v=vs.90).aspx</a></p></blockquote><p></p>
[QUOTE="mm1352000, post: 1184495, member: 82144"] Hi There are two CONFIG files because there are two EXE files. As the file extension (.config) suggests, these files are intended to contain configuration for the associated EXE file. So, MediaPortal.exe.config contains configuration for MediaPortal.exe (MediaPortal), and Configuration.exe.config contains configuration for Configuration.exe (MediaPortal Configuration). The content is not intended to be the same. Not by MP or MP Config, because MP's configuration (ie. all the settings you configure in MP Config) is stored in MediaPortal.xml. However they're read by the [URL='https://msdn.microsoft.com/en-us/library/8bs2ecf4%28v=vs.110%29.aspx']CLR[/URL] when the application is started and/or running. Note that this answer only applies for MP. Some applications store both their custom configuration as well as the CLR application configuration in the CONFIG file. For more information about CONFIG files: [URL]http://www.codeproject.com/Articles/616065/Why-Where-and-How-of-NET-Configuration-Files[/URL] [URL]https://msdn.microsoft.com/en-us/library/1xtk877y%28v=vs.110%29.aspx[/URL] [URL]https://msdn.microsoft.com/en-us/library/ms229689(v=vs.90).aspx[/URL] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Config File Corruption
Contact us
RSS
Top
Bottom