This fix adds missing line mappings for the Blazor runtime code generation. We had the correct line mappings for design time code, but they were missing in this case for runtime code - where they are used for error messages and debugging (not yet supported). Once this fix is is in the error window and output log will report the file/line/column of the original source in .cshtml. It looks like jumping to the code from the error window is currently not working correctly in VS. It works from the output window. I'm going to follow up on the VS issue in the Razor repo, since the fix won't come from the Blazor side. |
||
|---|---|---|
| .. | ||
| Razor | ||
| BindRazorIntegrationTest.cs | ||
| ComponentDiscoveryRazorIntegrationTest.cs | ||
| ComponentRenderingRazorIntegrationTest.cs | ||
| DeclarationRazorIntegrationTest.cs | ||
| DesignTimeCodeGenerationRazorIntegrationTest.cs | ||
| DiagnosticRazorIntegrationTest.cs | ||
| DirectiveRazorIntegrationTest.cs | ||
| FilePathRazorIntegrationTest.cs | ||
| IndexHtmlWriterTest.cs | ||
| Microsoft.AspNetCore.Blazor.Build.Test.csproj | ||
| RazorIntegrationTestBase.cs | ||
| RenderingRazorIntegrationTest.cs | ||
| RuntimeCodeGenerationRazorIntegrationTest.cs | ||
| RuntimeDependenciesResolverTest.cs | ||