"Supported target frameworks" lists net48 for the .NET SDK, but dotnet build can't build some net48 projects
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 1/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 85/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
調査の方向性
Issue では、.NET frameworks ページの「Supported target frameworks」表が示され、MSB3822/MSB3823 エラーへのリンクがあります。まずその表とリンク先のエラーに関する説明を読んでください。net48 でのリソース埋め込みの制限を説明する注記を追加し、エラーへのリンクを記載します。読者が dotnet build と dotnet pack はすべての net48 プロジェクトをサポートしているわけではないと確認できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the issue or suggestion
Page: https://learn.microsoft.com/en-us/dotnet/standard/frameworks#supported-target-frameworks
The section says: "The following table shows the target frameworks supported by the .NET SDK and the NuGet client" and lists net48/net481. This suggests that the .NET SDK (dotnet build, dotnet pack) fully supports building .NET Framework projects.
This isn't the case. A net48 project with non-string resources fails with MSB3822/MSB3823. This includes a standard WinForms form icon ($this.Icon) and images or icons in Resources.resx. According to MSB3822, "If you want to use the old default process, you must build with MSBuild.exe or Visual Studio and can't use the dotnet build command." The only alternative is to add a runtime dependency on System.Resources.Extensions, which the project didn't need before.
So the SDK supports net48 only partly: it supports the TFM, but not the default resource embedding of .NET Framework. Please add a note about this limitation to the table, with a link to MSB3822/MSB3823. Otherwise readers will assume that dotnet build/dotnet pack can replace MSBuild.exe for any net48 project.
- 主要言語
- 言語のデータがありません
- スター
- 4.8k
- フォーク
- 6.1k
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 263
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dotnet/docs のほかの issue
-
:watch: Not Triaged dotnet-target-version
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
Suggestions to improve this closed hierarchies tutorial experience by enhancing the code snippets対応中かも @natandovale が今日担当しました。 オープンdotnet-csharp/svc whats-new/subsvc
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
dotnet/docs#57026 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
TargetFramework doesn't match surrounding text ("net11.0" vs ".NET 9")対応中かも @BillWagner が 5 日前に担当しました。 オープンdotnet-fundamentals/svc
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
dotnet/docs#57011 · リアクション 1 件 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
-
`--self-contained false` doesn't seem to be a valid flag対応中かも @BillWagner が 7 日前に担当しました。 オープンdotnet-fundamentals/svc
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
dotnet/docs#56970 · リアクション 1 件 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
-
redirect-article deletes the source article before creating the redirect entry対応中かも @BillWagner が 10 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
dotnet/docs#56948 · リアクション 1 件 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Cojekt/LibreDental#258 ·
メンテナーはふだん 1 日以内に返信
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
NuSkooler/enigma-bbs#1241 ·
メンテナーはふだん 1 日以内に返信
-
next
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
j3ko/agent-plugins#80 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
aluiziodeveloper/portfolio-vivo-gravacao#51 ·
メンテナーはふだん 1 日以内に返信