I have an unmanaged C++ application that is linked with managed C++
and C# libraries. In one of the C# libraries, I have a Settings
file. This seems to load and save just fine to and from the user
settings directory (C:\Documents and Settings\Michae l Kelley\Local
Settings\Applic ation Data
\edTesteditor.e xe_Url_uvu2olsp zeirw25ckveiedb klpgmqaz5\0.0.0 .0). Now
I want to have a default file that is loaded if the settings don't
currently exist. After doing some research, it seemed that an
app.exe.config file would do the trick. I copied the user.config in
the user settings directory to the application directory thinking this
would automatically work, but that isn't the case - I get the message
below. Any ideas what I might be doing wrong?
---------------------------
Microsoft Visual Studio
---------------------------
Unable to start program 'c:\tree2\trunk \soft\src\edEdi tor\edTerrain
\Win32_Debug_ed Testeditor\edTe steditor.exe'.
This application has failed to start because the application
configuration is incorrect. Review the manifest file for possible
errors. Reinstalling the application may fix this problem. For more
details, please see the application event log.
---------------------------
OK
---------------------------