不能执行的Cvtres.exe [英] cannot execute CVTRES.exe

查看:947
本文介绍了不能执行的Cvtres.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法写入输出文件'XXX' - '无法执行的Cvtres.exe。 。我有这个问题。我已经重新安装了VS2010,但尚未问题仍然存在。我也申请了devnev -resetsettings但不成功。如何解决这个问题。

Could not write to output file 'xxx' -- 'Could not execute CVTRES.EXE.' . I am having this issue. I have re install the VS2010 but yet the problem remains. I have also applied the devnev -resetsettings but in vain. How to solve this issue.

在此先感谢

推荐答案

我只是一个客户,我需要调试成才的VMware映像安装Visual Studio 2010后,遇到了这个问题。错误$ P $从建筑的任何C#项目pvented我,同时建立C ++项目工作就好了。

I just encountered this issue after installing VS2010 on a VMware image of a customer where I need to debug someting. The error prevented me from building any C# projects, while building C++ projects worked just fine.

问题的来源是一个已损坏的 cvtres.exe.config 。我刚好看看这个文件:

The source of the problem was a corrupted cvtres.exe.config. I just happened to check out this file:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\cvtres.exe.config

和发现它包含什么,但零字节序列。从已知的良好系统一切恢复文件的内容后,刚开始工作的罚款。这是我现在有这样的文件:

and found that it contained nothing but a sequence of zero bytes. After restoring the content of the file from a known good system everything just started to worked fine. Here's what I now have in the file:

<?xml version ="1.0"?>
<configuration>
    <startup useLegacyV2RuntimeActivationPolicy="true">
        <requiredRuntime safemode="true" imageVersion="v4.0.30319" version="v4.0.30319"/>
        <supportedRuntime version="v4.0" sku="client" />
    </startup>
</configuration>

这答案很可能是太晚了你,但我写它只是在情况下,它会帮助别人。我的系统配置的最后说明:Win7的64位,VS2010(10.0.40219.1 SP1Rel),.NET Framework 4的(4.0.30319 SP1Rel)

This answer is probably too late for you, but I'm writing it just in case it will help somebody else. Final notes about my system configuration: Win7 64-bit, VS2010 (10.0.40219.1 SP1Rel), .NET Framework 4 (4.0.30319 SP1Rel).

这篇关于不能执行的Cvtres.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆