Extend assembly loading warning to check for non-MSBuild but implicit dependencies like S.T.J and the SLNX library

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

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

評価

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

調査の方向性

src/MSBuildLocator/MSBuildLocator.cs の 340~362 行付近から始めます。ここには、あいまいなアセンブリ読み込みに関する警告とチェックが実装されています。MSBuild ホストによってすでに読み込まれている依存関係をチェックがどのように処理するかを、System.Text.Json と Microsoft.VisualStudio.SolutionPersistence を例として確認し、ユーザーがこれらの暗黙的な非 MSBuild 依存関係を誤って読み込もうとしたときに警告することを完了条件とします。

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

説明

enhancement

The warning/checks that tell users when there is ambiguous assembly loading is a great safety net, but it doesn't help users with dependencies that are implicitly provided by the MSbuild host - for example System.Text.Json and Microsoft.VisualStudio.SolutionPersistence. We should consider expanding our check here to see if we can help users understand when they are (incorrectly) attempting to load dependencies that the host has already loaded.

主要言語
C#
スター
262
フォーク
91
平均マージ
11日 22時間
マージ済み PR(30日)
3

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

microsoft/MSBuildLocator のほかの issue

microsoft/MSBuildLocator の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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