"该断点当前不会被命中。在dll文件中找到了文件副本,但是当前源代码不同。

编程入门 行业动态 更新时间:2024-10-23 17:24:53
本文介绍了"该断点当前不会被命中。在dll文件中找到了文件副本,但是当前源代码不同。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我一直收到此错误消息,说存在.cs文件的副本,因此不会遇到断点。

I keep getting this error saying there's a copy of the .cs file hence the break point will not get hit.

我尝试清洁解决方案,重建,删除obj和bin文件夹中的.pdb文件,关闭VS并重新启动,然后重新启动整个计算机(这是Windows!有时最复杂,无法解释的问题可以这样解决:\)

I have tried cleaning solution, rebuilding , deleting the .pdb files in the obj and bin folders, closing VS and restarting it, restarting the whole machine (It's Windows! Sometimes the most complicated, unexplained problems get fixed like this :\ )

任何想法我还能尝试什么?这是在VS2015上的项目

Any idea what else I can try? it's a project on VS2015

推荐答案

我发现了问题,事实证明IIS配置为使用备份文件夹中项目的其他副本。这听起来很傻,但是如果有人有类似的问题,我将继续公开这个问题。

I found the issue, it turns out IIS was configured to use a different copy of the project I had in my backup folder. It sounds pretty silly but I'll keep this question open if someone had something similar.

更多推荐

"该断点当前不会被命中。在dll文件中找到了文件副本,但是当前源代码不同。

本文发布于:2023-11-12 04:28:35,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580509.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件   断点   副本   源代码   中找

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!