源文件与构建模块时不同。 [英] source file is different from when the module was built.

查看:61
本文介绍了源文件与构建模块时不同。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





调试数据库访问层时出现此错误



Hi,

I am getting this error when debugging the data base access layer

source file is different from when the module was built.<br />



请帮助我。

我是厌倦了这个问题


Please help me .
I am fed up with this problem

推荐答案

这通常意味着您在db层中调试的代码存在构建错误,并且您运行的是过时的版本。如果是这种情况,请修复并重建db层。



发生这种情况的另一个原因是PDB文件在构建时尚未刷新。执行build clean,然后重建解决方案(实际上进入输出目录并在重建应用程序之前检查文件是否已被删除)。
This commonly means that the code you are debugging in the db layer has had build errors, and you are running with an out of date version. If this is the case, fix and rebuild the db layer.

An alternative reason for this happening is that the PDB files have not been refreshed when building. Do a "build clean", and then rebuild the solution (actually go into the output directories and check that the files have been removed before you rebuild the app).


这篇关于源文件与构建模块时不同。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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