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

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

问题描述

我对代码所做的任何更改都不起作用.我什至试过在我知道会崩溃我的程序的行中放入行,但什么也没有.它只是继续运行旧版本.它甚至会加载我编辑和保存的旧版本文件.

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天全站免登陆