当前位置没有可用的源代码 [英] There is no source code available in the current location

查看:94
本文介绍了当前位置没有可用的源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前位置没有可用的源代码".如果我在应用程序的javascript函数中包含调试器,则会显示此错误消息.我在Google中尝试了几种解决方案,但无法正常工作.如果我打开一个新网站并将调试器置于javascript函数中,它还会显示相同的错误消息.我觉得vs环境有一些变化,您能帮我吗?

谢谢与问候
P.Saravanan

"There is no source code available in the current location". This error message will displayed if i include a debugger in javascript function in my application. I tried several solutions in google but its not working. If i open a new website and put a debugger in javascript function it also display the same error message.without debugger its work fine. I thing some changes in vs environment can u please help me.

Thanks and Regards
P.Saravanan

推荐答案

通常,当您尝试调试未生成的代码时,通常会导致此错误.因此,清洁和重新构建解决方案可能会解决此问题.另外,请确保添加的是项目参考"而不是"DLL参考".

但是,如果重新构建不能解决问题,则很可能您可能会尝试调试实际上未包含在项目中或从文件的错误位置包含的代码.您可能还需要检查一下.
This error is usually caused when you are trying to debug a code which is not built. So, cleaning and re-building the solution might solve this issue. Also make sure that you are adding "Project reference" rather than "Dll reference".

However, if re-building doesn''t fix the issue, then, there chances are that, you may trying to debug a code which actually is not included in the project, or, which is included from a wrong location in the file. You may also want to check this.


这篇关于当前位置没有可用的源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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