视觉工作室。代码更改不会做任何事情 [英] Visual Studio. Code changes don't do anything

查看:153
本文介绍了视觉工作室。代码更改不会做任何事情的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对我的代码所做的任何更改都不会执行任何操作。我甚至试图把线条,我知道会崩溃我的程序,什么也没有。它只是继续运行旧版本。它甚至加载了我编辑和保存的文件的旧版本。

Any changes I make to my code aren't doing anything. I've even tried putting lines in that I know will crash my program, and nothing. It just keep running the old version. It's even loading old versions of files I've edited and saved.

在我的解决方案有3个项目。 2是纯C#。 1是一个WinForms应用程序。

There a 3 projects in my solution. 2 are pure C#. 1 is a WinForms application.

推荐答案

有时会发生一些文件正在被另一个进程使用。

It sometimes happens that some files "are being used by another process".

关闭您的解决方案并删除所有包含在解决方案中的项目的所有bin和obj子文件夹。

Close your solution and delete all "bin" and "obj" subfolders of all your projects that are included in the solution.

然后再次打开您的解决方案,执行清洁解决方案并再次构建。

Then open your solution again, execute "Clean solution" and build it again.

这篇关于视觉工作室。代码更改不会做任何事情的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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