VS2010 C#总是编译失败 [英] VS2010 C# always compile fail

查看:102
本文介绍了VS2010 C#总是编译失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几天前,我的vs2010现在突然无法正常工作。我已经使用向导重新安装了vs2010和新的C#项目,但是无法打开页面来设计表单,并且总是得到无法复制文件****。exe的错误。我发现实际上exe文件没有生成。我检查了由正确的环境和我的错误环境生成的项目,我发现没有* .resx文件,我不知道为什么没有这样的文件,谁可以帮助我?

解决方案

检查输出文件夹的访问权限:你需要向所有用户写入permision,几乎。



如果那不是'帮助,尝试关闭VS,打开一个新副本,并创建一个新项目。建立它,看看是否有效。如果是,请添加上一个文件的所有文件,看看是否构建。


a few days ago, my vs2010 suddenly can't work now. I have re-installed the vs2010, and new a C# project by using the wizard, but can't open the page to design the form, and always get the error that cannot copy the file "****.exe". I found actually the exe file didn't generated. I have check the project generated by a right environment and my "wrong environment", I found that's no *.resx file, I don't have idea why there's no such file, who can help me?

解决方案

Check the access permissions on the output folder: you need write permision to all users, pretty much.

If that doesn't help, try closing VS, opening a new copy, and creating a new project. build it and see if that works. If it does, add all the files of the previous one and see if that builds.


这篇关于VS2010 C#总是编译失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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