-
Notifications
You must be signed in to change notification settings - Fork 933
NH-4067 - NuGet package doesn't include pdb file #1056
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
Comments
At the time of this request, wasn't the way to go to publish a symbol package, as we currently do? |
I didn't know that NHibernate publishes a symbol package. Is this documented somewhere? |
Are you asking about any Microsoft documentation? How to consume it in VS? Otherwise, no, NHIbernate documentation does not cover that point. It seemed to be a rather standard practice to publish symbols, so it was not looking useful to mention it somewhere. |
There are two things that I didn't know:
This describes the current situation perfectly: Package Consuming Experience I think the NHibernate readme should just mention that it publishes symbol packages to https://nuget.smbsrc.net. And maybe that those symbols even contain the full source code. Everything else can be found in other documentation. Of course, if #1971 changes something about the current situation, this might no longer be needed. |
From here:
Hum, I believe that the VS2017 .csproj format to which we have migrated for v5.0 is a "SDK-style project". So this would mean that NHibernate symbols packages are no more consumable since v5.0... |
I think this note only meant http://www.symbolsource.org/ as can be seen in this change for the page NuGet in the same library guidance. I've already created issue dotnet/docs#9966 to notify them they should update it. But that NHibernate 5.0 changed to the portable pdb format is true. What that means is documented here. |
Maybe this is true after all. Either that or no one pushed symbol packages since 5.0. I say that because I just tried to use it. VS 2017 15.9.5 couldn't find a symbol package, here is the output (for 5.2.2):
Then I used the nuget.exe to list the latest version of the symbol package (I got that command from here):
|
These symbol packages are still pushed in the release process. And their push succeed. So it looks like pushing them is no-op since v5.0, where they have been switched to portable, due to the In such case, I think we should migrate directly to snupkg format. |
Since #2019 was merged, I assume you want to go forward with snupkg instead of PDBs in the main package? If that's the case, this issue can be closed. |
Yes, we will go on publishing symbols in separated packages. |
Yufan Lou created an issue — 7th August 2017, 10:15:10:
The text was updated successfully, but these errors were encountered: