我在我的项目中出现了意外错误-“无可用资源" [英] i got an unwanted error in my project-"No Source Available"

查看:362
本文介绍了我在我的项目中出现了意外错误-“无可用资源"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的项目中,我遇到了意外错误..我在Read.class中使用了一个函数...在我的DAL文件中..当我使用断点检查该函数时,它从后面的代码重定向到BLL,但是在那之后我得到了这个错误


当前位置没有可用的源文件"


请帮助我找到解决方案...

In my project i got an unexpected error..I was used a function in my Read.class...in my DAL file..when i was checked the function using break point,It is redirected from the code behind to the BLL,but after that i got this error


"There is no source file available for the current location"


plz help me to find the solution......

推荐答案

如果要使用dll进行调试,则应在相同的解决方案中设置dll源代码,然后然后在参考"中选择项目.

希望对您有所帮助,
Theingi.
If you want to debug with your dll you should set your dll source code in the same solution and then in the Reference choose form the project.

Hope be helpful,
Theingi.


似乎出现此错误是由于在BLL和DAL之间建立或添加了参考DLL
请尝试

重新编译引用的DLL
删除,然后将引用的DLL重新添加到您的项目中

这可能会解决问题...
It seems that this error comes because of build or adding reference DLL between BLL and DAL
please try

Recompile referenced DLL
Remove and then re-add the referenced DLL to your project

this may solve the problem...


这篇关于我在我的项目中出现了意外错误-“无可用资源"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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