Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

NuGet Package does not contain a manifest

オープン
#537 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp
領域
tooling

調査の方向性

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
  1. Download the NuGet package from the official gallery:
    https://www.nuget.org/packages/Microsoft.Web.LibraryManager.Build/

  2. 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
フォーク
91
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aspnet/LibraryManager のほかの issue

aspnet/LibraryManager の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。