我将一个vs2012下的MFC项目在VS2013中打开,运行总提示这个错误。百度也搜不到,请问怎么办
错误 1 error MSB8001: "utf-8" is an invalid value for the "Code" parameter.
对应源码如下:
<VCMessage Code="utf-8" Type="Error" Condition="'$(_MBCS_Using)' == 'true' and '$(_MBCS_Installed)' != 'true' and '$(DesignTimeBuild)' != 'true'" />
这句话也不能更改,如果更改运行就需要另存为,如果想覆盖则拒绝访问
------解决思路----------------------
把项目改为UNICODE试试。VS2013不支持MBCS,如果想支持MBCS需要安插件。