visual studio 2013中的错误(编译和运行代码)

时间:2014-11-21 07:04:48

标签: c++ visual-studio-2012 visual-studio-2013

我安装了visual studio 2013,但每次尝试编译代码或运行它时。当我编译它时显示:

  

错误1错误MSB4014:由于内部故障,构建意外停止。   System.Text.EncoderFallbackException:无法将索引949处的Unicode字符\ uDF10转换为指定的代码页。      在System.Text.EncoderExceptionFallbackBuffer.Fallback(Char charUnknown,Int32 index)      在System.Text.EncoderFallbackBuffer.InternalFallback(Char ch,Char *& chars)      在System.Text.UTF8Encoding.GetByteCount(Char * chars,Int32 count,EncoderNLS baseEncoder)      at System.Text.UTF8Encoding.GetByteCount(String chars)      在System.IO.BinaryWriter.Write(String value)      在Microsoft.Build.BackEnd.NodePacketTranslator.NodePacketWriteTranslator.TranslateDictionary(Dictionary 2& dictionary, IEqualityComparer 1 comparer)      在Microsoft.Build.Execution.BuildParameters.Microsoft.Build.BackEnd.INodePacketTranslatable.Translate(INodePacketTranslator翻译)      在Microsoft.Build.BackEnd.NodePacketTranslator.NodePacketWriteTranslator.Translate [T](T& value,NodePacketValueFactory 1 factory) at Microsoft.Build.BackEnd.NodeConfiguration.Translate(INodePacketTranslator translator) at Microsoft.Build.BackEnd.NodeProviderOutOfProcBase.NodeContext.SendData(INodePacket packet) at Microsoft.Build.BackEnd.NodeProviderOutOfProc.CreateNode(Int32 nodeId, INodePacketFactory factory, NodeConfiguration configuration) at Microsoft.Build.BackEnd.NodeManager.AttemptCreateNode(INodeProvider nodeProvider, NodeConfiguration nodeConfiguration) at Microsoft.Build.BackEnd.NodeManager.CreateNode(NodeConfiguration configuration, NodeAffinity nodeAffinity) at Microsoft.Build.Execution.BuildManager.PerformSchedulingActions(IEnumerable 1个回复)      在Microsoft.Build.Execution.BuildManager.HandleNewRequest(Int32节点,BuildRequestBlocker阻止程序)      在Microsoft.Build.Execution.BuildManager.IssueRequestToScheduler(BuildSubmission提交,布尔allowMainThreadBuild,BuildRequestBlocker阻止程序)Project1   错误1错误MSB4014:由于内部故障,构建意外停止。   System.Text.EncoderFallbackException:无法将索引949处的Unicode字符\ uDF10转换为指定的代码页。      在System.Text.EncoderExceptionFallbackBuffer.Fallback(Char charUnknown,Int32 index)      在System.Text.EncoderFallbackBuffer.InternalFallback(Char ch,Char *& chars)      在System.Text.UTF8Encoding.GetByteCount(Char * chars,Int32 count,EncoderNLS baseEncoder)      at System.Text.UTF8Encoding.GetByteCount(String chars)      在System.IO.BinaryWriter.Write(String value)      在Microsoft.Build.BackEnd.NodePacketTranslator.NodePacketWriteTranslator.TranslateDictionary(Dictionary 2& dictionary, IEqualityComparer 1 comparer)      在Microsoft.Build.Execution.BuildParameters.Microsoft.Build.BackEnd.INodePacketTranslatable.Translate(INodePacketTranslator翻译)      在Microsoft.Build.BackEnd.NodePacketTranslator.NodePacketWriteTranslator.Translate [T](T& value,NodePacketValueFactory 1 factory) at Microsoft.Build.BackEnd.NodeConfiguration.Translate(INodePacketTranslator translator) at Microsoft.Build.BackEnd.NodeProviderOutOfProcBase.NodeContext.SendData(INodePacket packet) at Microsoft.Build.BackEnd.NodeProviderOutOfProc.CreateNode(Int32 nodeId, INodePacketFactory factory, NodeConfiguration configuration) at Microsoft.Build.BackEnd.NodeManager.AttemptCreateNode(INodeProvider nodeProvider, NodeConfiguration nodeConfiguration) at Microsoft.Build.BackEnd.NodeManager.CreateNode(NodeConfiguration configuration, NodeAffinity nodeAffinity) at Microsoft.Build.Execution.BuildManager.PerformSchedulingActions(IEnumerable 1个回复)      在Microsoft.Build.Execution.BuildManager.HandleNewRequest(Int32节点,BuildRequestBlocker阻止程序)      在Microsoft.Build.Execution.BuildManager.IssueRequestToScheduler(BuildSubmission submission,Boolean allowMainThreadBuild,BuildRequestBlocker blocker)Project1

当我尝试运行时崩溃并重新启动程序。

我尝试下载该程序的另一个版本(2012),但它仍然是相同的 。 有人可以帮忙吗?

1 个答案:

答案 0 :(得分:0)

您使用控制面板&gt;修复它系统&gt;高级&gt;环境变量&gt; <系统变量>路径。单击“编辑”,将故意小文本框的内容复制到文本编辑器中。清理它,删除明显错误的路径和坏字符。预计通常会出现瘫痪,没有囚犯。将其粘贴回文本框中。注销+登录以确保新值对所有进程都有效。