MSBuild Error MSB8031

 

MSB8031

To use MBCS encoding in MFC projects, you must download and install an additional library.

MBCS versions of the MFC DLLs are not included in Visual Studio, but they're available in the MFC MBCS DLL Add-on, which you can download if you're a Visual Studio customer. If you don't install the add-on and try to build an MFC project that uses the MBCS character set, the linker won’t find the DLLs and the build will fail.

To correct this error

  1. Download the MBCS MFC DLL Add-on from the MSDN Download Center, or if it is practical to do so, convert your project to the UNICODE character set.

See Also

MFC MBCS DLL Add-on