Make Microsoft.WindowsPackageManager.ComInterop NuGet package compatible with .1 .NET TFM

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

メンテナーはふだん 2 日以内に返信

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

評価

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

調査の方向性

The issue names the Microsoft.WindowsPackageManager.ComInterop NuGet package and the C# project’s TargetFramework setting, but no repository file or test. Start by locating the package project and its target framework configuration, then check how package compatibility is verified. Done means the package supports the reported net11.0-windows10.0.26100.1 target without NU1202.

索引モデルが issue の本文から書いたものです。

説明

Area-COM-API Issue-Bug Needs-Triage
Relevant area(s)

WinGet CLI, COM API

Relevant command(s)

No response

Brief description of your issue

Microsoft.WindowsPackageManager.ComInterop NuGet package is incompatible with .NET versions that end with .1. That TFM is required for CsWinRT 3 but also has existed for a while without this NuGet package supporting it. Please make it compatible.

error NU1202: Package Microsoft.WindowsPackageManager.ComInterop 1.29.380 is not compatible with net11.0-windows10.0.26100.1 (.NETCoreApp,Version=v11.0).
Steps to reproduce

Set this in the C# project file

<TargetFramework>net11.0-windows10.0.26100.1</TargetFramework>
Expected behavior

Expect it to work.

Actual behavior

Fails with the aforementioned error.

Environment
winget --info
Windows Package Manager v1.29.380
© 2026 Microsoft. All rights reserved.

Windows: Windows.Desktop v10.0.26320.9876
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.29.380.0
主要言語
C++
スター
26.6k
フォーク
1.8k
平均マージ
3日 10時間
マージ済み PR(30日)
41

環境構築

はじめの一歩

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

microsoft/winget-cli のほかの issue

microsoft/winget-cli の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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