Clarify which supportedRuntime options should be configured in app.config when <TargetFrameworks> has plural monikers configured

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
csharp, visualbasic
領域
documentation

調査の方向性

docs/framework/configure-apps/file-schema/startup/supportedruntime-element.md を確認し、特に issue でリンクされている「remarks」セクションを、ドキュメント化されたマルチターゲティングのシナリオと併せて確認してください。TargetFrameworks に net452 と net481 が含まれる場合の共有 app.config に対する意図されたガイダンスを確認し、supportedRuntime 構成と完了基準が明確になるようにページを更新してください。

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

説明

:watch: Not Triaged

I'm migrating legacy c# / vb applications to newer frameworks.

I moved project files from legacy project files (non-SDK) into modern SDK style. Now I also added net452 and net481 as options to compile projects to (<targetFrameworks>net452;net481</targetFrameworks>).

My question is how to make deal with supportedRuntime option in app.config like:

 <startup>
   <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/>
 </startup>

now, this file will be shared between 2 different binaries, what values should I put there (lowest, highest)?

Based on the doc, there is no way to specify multiple supportedRuntime options for frameworks bigger than 4.0


Document Details

⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

主要言語
言語のデータがありません
スター
4.8k
フォーク
6.1k
平均マージ
22時間 46分
マージ済み PR(30日)
296

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

dotnet/docs のほかの issue

dotnet/docs の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

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

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