在Visual Studio 2010中调试事件接收器的问题 [英] problem with debugging my event receiver in visual studio 2010

查看:91
本文介绍了在Visual Studio 2010中调试事件接收器的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

i在sharepoint 2010中有一个项目,该项目使事件接收器出现在文档库中.我想调试它们,但我不能?每次当我在断点上附加到w3wp.exe时,都会显示消息

i have a project in sharepoint 2010 that making event receiver on document library. i want debugging them but i cannot? every time when i attach on w3wp.exe on my breakpoint displays message

the breakpoint will not currently be hit. no symbols have been loaded for this document 

我使用了许多来自互联网的指南,但是在任何地方都找不到我尚未加载的pdb文件.我的模块列表就像页面上的图片一样

i used many guide from internet, but nowhere i cannot found my pdb files that have been not loaded. my module list is like on picture on page

我可以在其中找到尝试从Microsoft符号服务器下载的* .pdb文件,但我的visual studio 2010无法下载此文件.我试图在计算机上找到那些文件,但找不到.我该怎么办?

where i can find those *.pdb files i tryed download from microsoft symbol server but my visual studio 2010 does not download this files. i tryed that i find those files on my computer but i cannot find them. what i do?

推荐答案

请尝试执行以下操作:

1.清理,重建,重新部署解决方案.

1.Clean, rebuild, redeploy the solution.

2.从开始"->运行IISReset"命令.运行.

2.Run IISReset command from Start -> Run.

3.检查构建后日志警告.

3.Check post build log warnings.

4.删除解决方案目录中的pkg/obj/bin文件夹,然后重新构建/部署.

4.Delete the pkg/obj/bin folders within your solution directory, rebuild/deploy.

最好的问候,

丹尼斯


这篇关于在Visual Studio 2010中调试事件接收器的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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