Mono Samples should use standard shipping tooling to publish apps

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

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

評価

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

調査の方向性

まず core/mono-samples/ 配下のプロジェクトとカスタムターゲットを調査し、AppleAppBuilder、AndroidAppBuilder、WasmAppBuilder の使用箇所に焦点を当てます。現在の net6.0 ターゲットと発行コマンドを、OS サフィックス付き TFM 向けの標準ツールと比較します。カスタムタスクではなく、それらの TFM と標準の発行パスをサンプルが使用するようになれば完了です。

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

説明

Issue description

Today, the samples under core/mono-samples/ use custom targets with the AppleAppBuilder, AndroidAppBuilder, and WasmAppBuilder tasks from dotnet/runtime to publish apps. None of these tasks are used in production scenarios when targeting netX.0-ios, netX.0-tvos, netX.0-android, netX.0-browser or netX.0-wasi. In fact, these are the only usages of these tasks outside of the dotnet/runtime repository.

Additionally, none of these sample apps target a TFM with the platform, they all target a OSless net6.0 TFM.

Both of these cases describe scenarios that we do not guide our customers to use. All other documentation directs users to use the standard tooling that comes with the OS-suffixed TFM. We should update these samples to use said TFMs and use the standard tooling.

Target framework

Check the .NET target framework(s) being used, and include the version number(s).

  • .NET Core
  • .NET Framework
  • .NET Standard

cc: @elinor-fung @rolfbjarne @lewing @steveisok @kotlarmilos @jonpryor

主要言語
C#
スター
3.7k
フォーク
5.1k
平均マージ
19時間 47分
マージ済み PR(30日)
2

環境構築

はじめの一歩

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

dotnet/samples のほかの issue

dotnet/samples の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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