关于Visual Studio 2013 编译 multi-byte character set MFC程序出现 MSB8031 错误的解决办法
减小字体
增大字体
作者:佚名 来源:本站整理 发布时间:2017/8/28 16:47:31
Visual Studio 2013 编译旧的 multi-byte character set MFC 出现
错误 1 error MSB8031: Building an MFC project for a non-Unicode character set is deprecated. You must change the project property to Unicode or download an additional library. See http://go.microsoft.com/fwlink/p/?LinkId=286820 for more information. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets
原来是VS2013把 multi-byte character set 支持移除了
MFC support for MBCS deprecated in Visual Studio 2013
https://blogs.msdn.microsoft.com/vcblog/2013/07/08/mfc-support-for-mbcs-deprecated-in-visual-studio-2013/
去微软网站下载这个组件就行了
Multibyte MFC Library for Visual Studio 2013
https://www.microsoft.com/zh-cn/download/details.aspx?id=40770