-
Notifications
You must be signed in to change notification settings - Fork 252
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
Cannot use embeded PackageReadmeFile when using snupkg for symbols #10791
Comments
snupkg package format strongly limited with content filter by extensions (*.pdb and some more) |
We need to look into what we do here for licenses. |
Confirming the same issue with a Net5 project and "Microsoft (R) Build Engine version 16.10.0-preview-21175-01+afd0b6210 for .NET" as the build engine. |
Maybe this is check Also in |
This blocks many popular projects from adopting embedded READMEs, including:
The silver lining is that snupkg adoption is great with our most popular packages! 😅 |
@v-zubritsky can you file a separate bug for this so we can track and triage it separately? |
Must wait until NuGet/Home#10791 is resolved before adding symbols
Hello everyone, .NET 6 RC2 has been released with this fix. You can download it here: https://dotnet.microsoft.com/download/dotnet/6.0 |
Thanks @loic-sharma! I can confirm that, using .NET 6 RC, it now works for my NuGet Packages (when it hadn't been working before .NET 6 RC2)! I just published both with their NuGet Readme + snupkg 🎉 |
Previously a NuGet bug prevented this format in packages with a readme.md NuGet/Home#10791
Due to [this issue](NuGet/Home#10791) it turns out there was a bug in NuGet when using the new `PackageReadmeFile` alongside symbol packages, that is only fixed in .NET 6.0 RC2, which has only just been released! Bumping the actions to required pre-release 6.0 versions in anticipation of GitHub adding them to the CI.
Fixed for me too. 👍🏻 |
I still seem to be having issues:
My directory structure:
Any ideas where I'm going wrong? |
@RehanSaeed It won't work unless you upgrade to .NET 6 RC2. That's the version with the fix. You're still on .NET 6 RC1. |
…e and generating snupkg. More info: NuGet/Home#10791
previously prevented by NuGet bug NuGet/Home#10791
try to get around current NuGet bug NuGet/Home#10791
This reverts commit 295a532. This is due to NuGet/Home#10791. We can reapply the readme after switching to .NET SDK 6.0.
now that NuGet bug has been resolved NuGet/Home#10791
versions 5.10/5.11 had a bug: NuGet/Home#10791
previously prevented by NuGet bug NuGet/Home#10791
try to get around current NuGet bug NuGet/Home#10791
This reverts commit 295a5328208e65883c9a3add6fdfdba3bd14b34a. This is due to NuGet/Home#10791. We can reapply the readme after switching to .NET SDK 6.0.
Details about Problem
NuGet product used: dotnet.exe
Product version: 6.0.0-preview.3.21201.4
Worked before? If so, with which NuGet version: 🤷♀️
Repro steps and/or sample project
dotnet new classlib
readme.md
filedotnet pack
Additional information
<SymbolPackageFormat>
<PackageIcon>
nor<PackageLicenseFile>
properties, so it seams to be only for the PackageReadmeFileThe text was updated successfully, but these errors were encountered: