M
Michael.A.Kelley
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\Michael Kelley\Local
Settings\Application Data
\edTesteditor.exe_Url_uvu2olspzeirw25ckveiedbklpgmqaz5\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\edEditor\edTerrain
\Win32_Debug_edTesteditor\edTesteditor.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.
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\Michael Kelley\Local
Settings\Application Data
\edTesteditor.exe_Url_uvu2olspzeirw25ckveiedbklpgmqaz5\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\edEditor\edTerrain
\Win32_Debug_edTesteditor\edTesteditor.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.