错误信息:
An application has made an attempt to load the C runtime library without using a manifest. This is an unsupported way to load Visual C++ DLLs. You need to modify your application to build with a manifest.
For more information, see the "Visual C++ Libraries as Shared Side-by-Side Assemblies" topic in the product documentation
解决办法:
一般这个错误是运行时出错,编译时不会报错。据说是由于调用某些静态库引起。
将编译生成的MyApp.exe.embed.manifest加入到资源文件中即可解决问题。
另外有人说可以通过新建工程来解决。