Replies: 1 comment
-
This seems to be caused by changes made to how the #line directives are added when generating the code for razor components. See dotnet/razor#11432. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am having an issue where some exceptions in a component are missing the file and line number in the stack trace. This appears to have started when building with
8.0.300
. If I revert the build to use8.0.204
the line numbers are shown, even when using the latest runtime versions.This is only happening for exceptions that occur in
BuildRenderTree
of the component.If built with
mcr.microsoft.com/dotnet/sdk:8.0.204-alpine3.19
If built with
mcr.microsoft.com/dotnet/sdk:8.0.300-alpine3.19
or newer.This is my example component:
I'm trying to understand why this is. I've tried disabling optimizations and that does not seem to change the behavior.
Beta Was this translation helpful? Give feedback.
All reactions