我在新的ASP.NET应用程序中遇到异常(System.Web.HTTPException)。重现步骤: Visual Studio 2017 .NET Framework 4.6.2
System.Web.HttpException,第11行
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));
单击继续
4个其他类型的异常:
抛出异常:Microsoft.CSharp.dll中的'Microsoft.CSharp.RuntimeBinder.RuntimeBinderException'
有什么想法为什么一个新项目会抛出这样的异常?
谢谢, 道格
答案 0 :(得分:0)
您可以尝试以下步骤
From the Debug menu, select Exceptions.
Click the "Add..." button on the bottom right.
Choose "Common Language Runtime Exceptions" from the Type dropdown.
Type "Microsoft.CSharp.RuntimeBinder.RuntimeBinderException" as the name.
Click OK.
The exception type will now appear on the list. Just deselect it.
更多参考Lots of first chance Microsoft.CSharp.RuntimeBinderExceptions thrown when dealing with dynamics