NuGet Package does not contain a manifest
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Reproduce the upload using Microsoft.Web.LibraryManager.Build versions 2.0.76 or 2.0.96 and the documented NuGet.Server setup, then inspect the reported PackageHelper.GetManifestStream and PackageFactory.Open stack trace. Done means identifying whether the package or NuGet.Server is responsible and restoring a successful push with the documented nuget command.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hello,
for our internal build and deploy, we have set up our own NuGet server as described in
https://docs.microsoft.com/en-us/nuget/hosting-packages/nuget-server
Using NuGet.Server version 3.4.1 including latest versions of all dependencies, behind an Microsoft IIS 7 server.
To this server, I am unable to upload the package
Microsoft.Web.LibraryManager.Build
from
https://www.nuget.org/packages/Microsoft.Web.LibraryManager.Build/
(tested with version 2.0.76 and 2.0.96).
I receive the error message described below.
Because this is the only package, where this error occurs, I believe it is an error in the package itself, not in the NuGet.Server. So I created the issue here in this project.
Best regards
Daniel
Functional impact
Unable to use the package "Microsoft.Web.LibraryManager.Build".
Minimal repro steps
-
Download the NuGet package from the official gallery:
https://www.nuget.org/packages/Microsoft.Web.LibraryManager.Build/ -
Try to push it to the own server, e.g.
nuget push microsoft.web.librarymanager.build.2.0.76.nupkg -src http://localhost
Expected result
Package should be pushed to the NuGet Server.
Actual result
Error message in client:
Return code 406 (Not Acceptable)
Error message in log file of the server:
w3wp.exe Error: 0 : System.InvalidOperationException: Package does not contain a manifest.
bei NuGet.PackageHelper.GetManifestStream(Stream packageStream)
bei NuGet.OptimizedZipPackage.EnsureManifest()
bei NuGet.Server.Core.PackageFactory.Open(String fullPackagePath)
bei NuGet.Server.V2.Controllers.NuGetODataController.<UploadPackage>d__16.MoveNext()
...
- Ngôn ngữ chính
- C#
- Star
- 486
- Fork
- 91
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aspnet/LibraryManager
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
aspnet/LibraryManager#824 · 1 bình luận · 3 reaction ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
aspnet/LibraryManager#804 · 2 reaction ·
-
Changelog for 3.0.114 Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 48/100
aspnet/LibraryManager#829 · 1 bình luận · 3 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
aspnet/LibraryManager#820 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
aspnet/LibraryManager#808 · 5 bình luận ·
Tất cả issue của aspnet/LibraryManager
Issue tương tự
-
core dependencies
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
-
bug frontend good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
NavigationViewItemAutomationPeer implements IInvokeProvider but never advertises the Invoke pattern Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
unoplatform/uno#24629 ·
-
agentic-workflows Needs: Triage :mag: State: In-PR
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Down / Waiting for removal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100