问题描述
我有我正在建造在Visual Studio 2013的多项目解决方案,它工作正常,但现在,我已经升级到Visual Studio 2015年我再也不能在调试模式下命中破发点,任何项目exect主体工程选定为项目属性页启动项目。我以前可以点击其他项目,只是选择调试 - >启动新实例。我越来越断点目前不会被击中的误差。无符号已加载此文件
我已经尝试了很多关于谷歌,包括找到的东西:
I have a multi-project solution that I was building in Visual Studio 2013 and it was working fine but now that I have upgraded to Visual Studio 2015 I can no longer hit break points in debug mode for any project exect the main project selected as the Startup project in the Project Properties page. I used to be able to click on the other projects and just choose Debug -> Start New Instance. I am getting the error The breakpoint will not currently be hit. No symbols have been loaded for this document.
I have tried a lot of things found on Google including:
- 清洁/重建
- 删除OBJ和BIN文件夹形成项目
- 难道VS修复
- 重新启动
- 卸载/重新安装
- 确认定义DEBUG约束的属性启用 - >生成
- 确认优化代码是未选中的属性 - >生成
- 确认属性 - >生成平台目标设置为任何CPU的所有项目
- 尝试运行VS使用=>以管理员身份运行
- 删除所有文件/应用程序数据/本地/温度/临时ASP.Net文件/
- 确信调试 - >攻击到进程 - >选择了自动判断的代码调试类型中选择
- 确信的属性 - >网络 - > Debuggerts已经ASP.Net检查(我的属性有ASP。 Net和启用编辑并继续经过,Natvie代码的SQL Server和Silverlight未选中)
- 确认目标的属性框架 - >应用程序设置为相同的版本(4.6)如在web.config /App.Config文件。
- Clean/Rebuild
- Delete the OBJ and BIN folder form the projects
- Did VS repair
- Rebooted
- Uninstalled/Reinstalled
- Confirmed Define DEBUG constraint is enabled for Properties -> Build
- Confirmed Optimize Code is unchecked for Properties -> Build
- Confirmed Properties -> Build => Platform target was set to Any CPU for all projects
- Tried running VS using "Run as Administrator"
- Deleted all the files in /AppData/Local/Temp/Temporary ASP.Net Files/
- Made sure Debug -> Attack to Process -> Select had "Automatically determine the type of code to debug" was selected
- Made sure the Properties -> Web -> Debuggerts had ASP.Net checked (my properties has ASP.NEt and Enable Edit and Continue Checked, Natvie Code SQL Server and Silverlight unchecked)
- Confirmed Target framework in Properties -> Application was set to the same version (4.6) as in the Web.Config/App.Config files.
那么,我在这里丢失?为什么我不能再调试其他项目?
So what am I missing here? Why can I no longer debug the other projects?
推荐答案
我从来没有想通了什么事,但我最终建立一个全新的项目和公正的导入文件到它,一切正常了。
I never figured out what happened but I ended up building a whole new project and just importing the files into it and everything works now.
这篇关于升级到Visual Sudio 2015年,现在在debuging也打不破发点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!