【VS開發】VS2013多字節工程問題uilding an MFC project for a non-Unicode character set is deprecated

VS2013多字節工程問題

使用VS2013編譯舊版VC++程序時,提示Building an MFC project for a non-Unicode character set is deprecated,微軟提供瞭解決方案。css


1、錯誤信息html

<span style="font-family: FangSong_GB2312;"><span style="font-size:14px;">1>------ 已啓動所有從新生成:  項目: Server, 配置: Release Win32 ------  
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(369,5): 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.  
========== 所有從新生成:  成功 0 個,失敗 1 個,跳過 0 個 ==========  
</span></span>  


2、微軟解釋

      用於多字節字符編碼 (MBCS) 的 MFC 庫 (DLL) 再也不包含於 Visual Studio 中,可是可用做插件,您能夠在任何裝有 Visual Studio Professional、Visual Studio Premium 或 Visual Studio Ultimate 的計算機上下載和安裝。(在 Visual Studio 中,必須啓用 MFC。)安裝須要大約 440 MB 磁盤空間,包括英語(美國)和 DLL 的本地化版本。visual-studio

在安裝 MBCS DLL 後,若是卸載或修復 Visual Studio,則還會卸載或修復。 可是,若是隻禁用 MFC,MBCS DLL 仍會保留在系統上。 若是僅卸載或修復 MBCS DLL,將不會修改 Visual Studio。ui

    詳細信息:http://blogs.msdn.com/b/vcblog/archive/2013/07/08/mfc-support-for-mbcs-deprecated-in-visual-studio-2013.aspx

            下載地址:http://www.microsoft.com/zh-cn/download/details.aspx?id=40770編碼

相關文章
相關標籤/搜索