NuGet Package does not contain a manifest
还没有人认领这个 Issue。
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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()
...
- 主要语言
- C#
- 星标
- 486
- 派生
- 92
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aspnet/LibraryManager 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
aspnet/LibraryManager#824 · 1 条评论 · 3 个 reaction ·
-
难度 1/5 1 小时以内 新手友好度 68/100
aspnet/LibraryManager#804 · 2 个 reaction ·
-
难度 1/5 1 小时以内 新手友好度 48/100
aspnet/LibraryManager#829 · 1 条评论 · 3 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 42/100
aspnet/LibraryManager#820 ·
-
难度 4/5 3-5 天 新手友好度 35/100
aspnet/LibraryManager#808 · 5 条评论 ·
查看 aspnet/LibraryManager 的全部 Issue
相似的 Issue
-
[Simple] NavigationBar primary commands do not render AppBarButton.Content when it is a UIElement未关闭control/navigationbar kind/bug triage/untriaged
难度 2/5 1-3 小时 新手友好度 90/100
unoplatform/uno.toolkit.ui#1652 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
microsoft/copilot-camp#1053 ·
维护者通常 1 天内回复
-
bug effort:S P3
难度 2/5 1-3 小时 新手友好度 84/100
nightscout/nocturne#1861 ·
维护者通常 1 天内回复
-
agentic-workflows area/Docs partner/agentic-workflows
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
microsoft/fluentui-blazor#5364 ·
维护者通常 1 天内回复