-
Notifications
You must be signed in to change notification settings - Fork 255
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
Include symbols by default #7892
Comments
I don't think symbols should be generated by default. I'd say, we need at least > 50% of the pack runs to be with symbols generated. Now we don't have the data for that, but can we comfortably say that 50% of all pack runs need symbols? In my opinion, this would just add unnecessary overhead, and I don't see it as the day-to-day dev scenario. Especially when considering changing a long-standing default. |
I can argue both ways 😐. Let keep this open and see if it garners interest. We can come back to this once we have the community showing interest in it. |
I'm curious about this, when would someone pack a project but not publish to a feed?
The fact of the matter is, the vast majority of packages on nuget.org are not debuggable. This is largely because an author needs to opt-in to generate symbols. Could you imagine the benefits if instead authors had to opt-out? The .NET ecosystem would be dramatically better if developers could debug all of their dependencies. |
Ah I forgot about |
We don't really have data on all those metrics unfortunately which our decision more difficult. Take the dotnet repos (and the NuGet.Client repo itself).
I understand that and I agree with you. But, which packages don't have symbols is way more important than whether packages have symbols.
There could be so many other reasons. For starters lack of proper tooling to create/lack of proper infrastructure to submit symbols. Break-down in the general publishing process. I don't believe strong-arming people with pack is the right decision. Defaults are as much about what the user expects, as they are about some ideal case scenario. Note that I'm not saying we should never do it. I'm just saying that the way everything is set-up right now, it's not the best direction. |
Yeah, that's the sense I'm getting too now.
I think this would help. Should Visual Studio's |
Maybe. The trouble I'm having is getting a representative sample of what people do & how they do it to make an educated decision. We really need a "best practices" guidance from the team since we feel strongly about these topics. |
Yup. We are indeed planning to make it a feature too, not just docs 🙂 |
|
The snupkg spec mentions:
Currently, symbols are not generated by default. We should consider making this the default experience. See also: #7815
/cc @rrelyea @karann-msft @anangaur
The text was updated successfully, but these errors were encountered: