You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
Exceptions thrown from Views when run from a net461 application do not contain line numbers or file info #6356
The reason why this occurs is because our CSharpCompiler.EmitOptions unconditionally sets the debugInformationFormat to the pdb format (can't be understood by .net framework). We should consider auto-detecting the current framework and set the PDB format accordingly.
Note that this blocks the RuntimeErrorAreListedByErrorPageMiddleware test from passing on net461.
This issue can be closed as a duplicate of dotnet/extensions#235 if we complete that one first. Leaving this issue here in-case we decide to go for a non-portable-pdb approach; the sdk will be moving to non-portable pdbs for desktop applications anyways so this may be more consistent with the rest of the system.
Activity
NTaylorMullen commentedon Jun 2, 2017
/cc @anurse @DamianEdwards FYI if you don't see line numbers in your views when app building net461.
analogrelay commentedon Jun 5, 2017
I had actually noticed this, thanks for the heads-up :)
pranavkm commentedon Jun 26, 2017
Fixed in e5da44a