diff --git a/src/Microsoft.AspNetCore.Diagnostics/DeveloperExceptionPage/Views/CompilationErrorPage.cs b/src/Microsoft.AspNetCore.Diagnostics/DeveloperExceptionPage/Views/CompilationErrorPage.cs index 2f834a7c5c..4b5033ea4f 100644 --- a/src/Microsoft.AspNetCore.Diagnostics/DeveloperExceptionPage/Views/CompilationErrorPage.cs +++ b/src/Microsoft.AspNetCore.Diagnostics/DeveloperExceptionPage/Views/CompilationErrorPage.cs @@ -358,7 +358,7 @@ WriteAttributeValue("", 2681, frame.Line + 1, 2681, 17, false); #line default #line hidden - WriteLiteral(" \r\n \r\n\r\n"); + WriteLiteral(" \r\n \r\n\r\n"); } #pragma warning restore 1998 } diff --git a/src/Microsoft.AspNetCore.Diagnostics/DeveloperExceptionPage/Views/ErrorPage.cs b/src/Microsoft.AspNetCore.Diagnostics/DeveloperExceptionPage/Views/ErrorPage.cs index 07b2b6ed98..99cc4bf96e 100644 --- a/src/Microsoft.AspNetCore.Diagnostics/DeveloperExceptionPage/Views/ErrorPage.cs +++ b/src/Microsoft.AspNetCore.Diagnostics/DeveloperExceptionPage/Views/ErrorPage.cs @@ -799,7 +799,7 @@ WriteAttributeValue("", 5163, frame.Line + 1, 5163, 17, false); #line default #line hidden - WriteLiteral(" \r\n \r\n \r\n\r\n"); + WriteLiteral(" \r\n \r\n \r\n\r\n"); } #pragma warning restore 1998 } diff --git a/src/Microsoft.AspNetCore.Diagnostics/DeveloperExceptionPage/Views/ErrorPage.js b/src/Microsoft.AspNetCore.Diagnostics/DeveloperExceptionPage/Views/ErrorPage.js index 0ece2c49be..97949b16f7 100644 --- a/src/Microsoft.AspNetCore.Diagnostics/DeveloperExceptionPage/Views/ErrorPage.js +++ b/src/Microsoft.AspNetCore.Diagnostics/DeveloperExceptionPage/Views/ErrorPage.js @@ -137,7 +137,7 @@ }; function frame(el) { - ns(el).children(".source .collapsible").toggle(); + ns(".source .collapsible", el).toggle(); } function tab(el) { diff --git a/src/PageGenerator/Program.cs b/src/PageGenerator/Program.cs index 7afa2b069b..c2f3beaecc 100644 --- a/src/PageGenerator/Program.cs +++ b/src/PageGenerator/Program.cs @@ -14,7 +14,7 @@ namespace PageGenerator { private const int NumArgs = 1; - public void Main(string[] args) + public static void Main(string[] args) { if (args.Length != NumArgs) { diff --git a/src/PageGenerator/project.json b/src/PageGenerator/project.json index 789d207720..86a13bcfc7 100644 --- a/src/PageGenerator/project.json +++ b/src/PageGenerator/project.json @@ -3,6 +3,7 @@ "description": "Builds the pages for the Diagnostics projects. Runs in build.cmd.", "compilationOptions": { "warningsAsErrors": true, + "emitEntryPoint": true, "keyFile": "../../tools/Key.snk" }, "repository": {