-
Notifications
You must be signed in to change notification settings - Fork 133
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
pdb files with .NET 8 #3547
Comments
After giving it some thought, I think it would make sense to include the pdbs by default at the right location in the vmr output. It's then up to the package mantainers to remove or package them up. And some guidelines can be written for that. |
@tmds every .NET repo produces symbols packages by default. We are just not packaging them into Every NuGet package has a matching I'm proposing that we include all these Of course, we would not add these symbols packages to previously-source-build archive. |
@NikolaMilosavljevic will this (or can we) make it so that the pdbs of the .NET Core and ASP.NET Core shared framework are included in the output tarball by default? |
The proposal is to not
My proposal would unify the experience and cover not only |
I agree with @NikolaMilosavljevic that the right thing to do is to align Microsoft's build and source-build on .symbols.nupkg for both the shared frameworks as well as nuget packages. That would also mean that a move to using .snupkgs would be seamlessly supported in source-build. |
I wasn't referring to the The request is to include the pdbs for .NET and ASP.NET runtime with the other files that need to be packaged by the distro maintainer. It seems simpler to include these files in the output than to have a package maintainer extract them separately using additional nuget packages that are produced by the build. |
@tmds Wouldn't that mean less flexibility for the maintainer? The pdb sizes are pretty significant. If the pdbs are included with the runtime archive by default, for instance, it would more than double the download size (30 MB of binaries + 38 MB of pdbs for the Linux x64 archive). |
The thinking is: the maintainer is anyhow responsible for slicing up the output into packages. He can deal with the pdbs the way he wants, which could be to just delete them, but preferably to package them in some way. |
For .NET 6 and 7, pdb files didn't work as they went looking for the distro sources that .NET was compiled from (#2623).
With .NET 8, things should be better thanks to the sourcelink integration.
Has someone verified this to work?
If there are working pdbs:
cc @dotnet/distro-maintainers @MichaelSimons @premun @omajid
The text was updated successfully, but these errors were encountered: