C#没有构建,所有更改都不起作用 [英] C# doesnt building, all changes doesnt work

查看:95
本文介绍了C#没有构建,所有更改都不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在使用Microsoft Visual C#2010 Express,我的问题是因为我在代码中所做的每一项更改都无法在运行中运行。例如,我添加函数onclick on按钮并在内部写入ex。的MessageBox.show( 测试);没有任何反应。我以前遇到过这个问题,但我多次使用CTRL + SHIFT + B解决,但现在它没有解决这个问题....怎么做?

谢谢

解决方案

您确定您的项目实际正在编译吗?检查您的解决方案构建配置,并确保勾选了构建复选框。



它位于BUILD>配置管理器...


我删除了obj和bin文件夹,而不是我打开我的项目并再次运行...它工作了

感谢所有回复

Hello,
I'm using Microsoft Visual C# 2010 Express and my problem is that because every change i made in my code doesn't work in the run. For example i add function onclick on button and write inside for ex. MessageBox.Show("test"); and nothing happens. I had this problem before but i was solving using CTRL+SHIFT+B multiple times, but now it doesnt solve this problem.... What to do?
Thanks

解决方案

Are you sure your project is actually compiling? Check your solution build configuration and make sure the build check box is ticked.

It's under BUILD > Configuration Manager...


I deleted obj and bin folders, than i open my project and run it again... it worked
Thanks for all replies


这篇关于C#没有构建,所有更改都不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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