VS2010和VS2012“脚本文档”部分永远不会出现,我无法调试JavaScript [英] VS2010 and VS2012 “Script Documents” section never appears, and I can't debug JavaScript

本文介绍了VS2010和VS2012“脚本文档”部分永远不会出现,我无法调试JavaScript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

工具:

Windows 7,
Visual Studio 2010和2012,
IE 9,
ASP.NET 4.0,
MVC4

Windows 7, Visual Studio 2010 and 2012, IE 9, ASP.NET 4.0, MVC4

直到几天前,我已经能够使用解决方案资源管理器中的脚本文档部分进行调试。现在,启动调试(F5)时脚本文档部分不会出现。

Until a couple of days ago I had been able to debug by using the Script Documents section in the Solution Explorer. Now, the Scripts Documents section does not appear when Start Debugging (F5).

我的IE设置为默认浏览器。

使用调试器没有任何效果。

配置设置为活动(调试)。

Silverlight调试已关闭。

我已修复了Visual Studio 2010 inatallation。

我不知道如何纠正这个令人沮丧的情况。我做了什么让VS神变得不舒服?

I have no idea how to correct this frustrating situation. What have I done to displease the VS gods?

感谢任何建议!

阿诺德

推荐答案

对于任何可能面临同样问题的人,我想我已经弄清楚了。我已经花了几天的时间,撕裂了我的头发在这个,以及我的一般职责。不幸的是,由于我正在追逐工具的陌生,我无法获得真正的工作。

For anyone who might be facing the same issue I think I have it figured out. I have spent days and nights tearing my hair out on this, along with my usual duties. It's unfortunate that I couldn't get "real" work done because I was chasing tool strangeness.

我在以下行中已经有了-Layout.cshtml:

I had the following line in_Layout.cshtml:

当我删除该行时,脚本文档重新出现。

我将把它标记为已解决如果有人能提供软件行为的原因,我想了解。

I'm going to mark this as 'resolved,' however, if anyone else can proffer a reason for the behavior of the software, I would like to understand.

谢谢,

Arnold

这篇关于VS2010和VS2012“脚本文档”部分永远不会出现,我无法调试JavaScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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