Click here to Skip to main content
15,891,895 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I have an application which uses third party libraries (.Lib,.h). These libraries are compiled on VS2005. Our environment uses VS2010 and in project setting we have selected "Generate Manifest" to "Yes" (Configuration Properties-->Linker-->Manifest File-->Generate MAnifest). Once we change this setting our application searches for assemblies of VS2005 and that is the reason we have set the value of to ("Generate Manifest" to "NO" ). Now the application wont complain and run smoothly.
But now for some functionalities I want need to make this setting to "Yes" and if we make it our application wont run and gives following error.

---------------------------
Microsoft Visual Studio
---------------------------
Unable to start program 'D:\Code\Debug\Myapp.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.

Please suggest me some alternative so that I shd be able to use the same library files with
"Generate Manifest" to "Yes".
Posted
Updated 19-Jul-18 10:55am

1 solution

Delete app.manifest in folder "my project" and Start Debug.
 
Share this answer
 
Comments
Dave Kreskowiak 19-Jul-18 18:19pm    
Yeah, this isn't an answer to the question at all and you're only 5 years too late.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900