ASP.NET 5 MVC application uses single file publishing method for deployment:
In this case stack trace does not contain line numbers. If
[v]Produce single file
Checkbox is unchecked, line numbers are shown. How to enable line numbers if single file is published ?
I tried to set Debug information Full to in Advanced build setting
and
changed project file as described in Show line number in exception handling to
<DebugSymbols>true</DebugSymbols>
<DebugType>embedded</DebugType>
but line numbers are still not shown if published to single file. Visual Studio 2019 IDE is used to publish.

