-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Difference between IncludeSymbolsInSingleFile and DebugType embedded? #42278
Comments
Tagging subscribers to this area: @agocke |
In 3.0, symbols could be included by embedding the PDBs in the bundle, and at runtime they would be extracted to a temporary directory next to the app DLLs. In 5.0, we removed support for bundling and extracting the PDBs and recommend using embedded PDBs instead, where the PDB information is directly embedded inside each assembly (there are no separate PDB files). In general, embedded PDBs are better. It's a long supported feature and is usually understandable by most debuggers. |
Thanks for your reply, I managed to think of some additional questions in the meantime:
|
It doesn't. It's not supported.
It's currently not supported to examine the bundle, it's basically an opaque exe.
Setting the property |
Ah, just updated to RC1, it was still Results in Preview 8Using simple WPF app, referencing After setting
😢
That either works different than expected, or doesn't work at all. I expected it to extract itself in |
Sorry, I think I typo'd that: should be |
With |
@holc-tkomp You're right! That looks like a bug to me. |
Filed #42352 for this issue |
Sorry for the late response... In 5.0.0 the As for the bundle format: Implementation of the bundling Writing a tool to extract all of the content from the bundle should be pretty simple (the format is rather primitive). |
What's the difference between adding
and
to your .csproj?
This is pretty straightforward question, but I really couldn't find anything more than "IncludeSymbolsInSingleFile" is only available for .NET Core 3.0+ in design.md (which is kind of obvious, as you have to be able to build single-file).
So, is there any difference? Especially in how they get embedded?
The text was updated successfully, but these errors were encountered: