dotnet sdk memeriksa

Artikel ini berlaku untuk: ✔️ .NET 6 SDK dan versi yang lebih baru

Nama

dotnet sdk check - Mencantumkan versi terbaru yang tersedia dari .NET SDK dan .NET Runtime, untuk setiap band fitur.

Sinopsis

dotnet sdk check

dotnet sdk check -h|--help

Description

Perintah dotnet sdk check memudahkan untuk melacak kapan versi baru SDK dan Runtime tersedia. Dalam setiap band fitur, ini memberi tahu Anda:

  • Versi terbaru yang tersedia dari .NET SDK dan .NET Runtime.
  • Apakah versi yang diinstal up-to-date atau di luar dukungan.

Berikut adalah contoh output dari perintah:

.NET SDKs:
Version      Status
----------------------------------------
3.1.426      .NET 3.1 is out of support.
7.0.103      Up to date.
7.0.200      Patch 7.0.201 is available.

.NET Runtimes:
Name                              Version      Status
--------------------------------------------------------------------------
Microsoft.AspNetCore.App          5.0.17       .NET 5.0 is out of support.
Microsoft.NETCore.App             5.0.17       .NET 5.0 is out of support.
Microsoft.WindowsDesktop.App      5.0.17       .NET 5.0 is out of support.
Microsoft.NETCore.App             6.0.10       Patch 6.0.14 is available.
Microsoft.NETCore.App             6.0.11       Patch 6.0.14 is available.
Microsoft.NETCore.App             6.0.13       Patch 6.0.14 is available.
Microsoft.AspNetCore.App          7.0.3        Up to date.
Microsoft.NETCore.App             7.0.3        Up to date.
Microsoft.WindowsDesktop.App      7.0.3        Up to date.

The latest versions of .NET can be installed from https://aka.ms/dotnet-core-download. For more information about .NET lifecycles, see https://aka.ms/dotnet-core-support.

Opsi

  • -?|-h|--helpMencetak deskripsi cara menggunakan perintah.

Examples

  • Perlihatkan status up-to-date dari .NET SDK dan Runtime .NET yang diinstal.

    dotnet sdk check
    

Baca juga

Untuk mendapatkan informasi status SDK serupa sebagai peringatan build untuk SDK yang diselesaikan build Anda, atur CheckSdkVulnerabilities properti MSBuild ke true dalam proyek Anda. Lihat NETSDK1238, NETSDK1239, dan NETSDK1240.