Dotnet CLI Komutları
  • Giriş
  • Genel Komutlar
    • dotnet
    • dotnet help
    • dotnet sdk check
  • Yüklü Proje Şablonları ile Proje Oluşturma Komutları
    • dotnet new sln
    • dotnet new classlib
    • dotnet new console
    • dotnet new web
    • dotnet new mvc
    • dotnet new webapi
    • dotnet new react
    • dotnet new angular
    • dotnet new grpc
    • dotnet new nunit
    • dotnet new xunit
    • dotnet new mstest
    • dotnet new gitignore
    • dotnet new globaljson
  • Proje Şablon İşlemleri için Komutlar
    • dotnet new list
    • dotnet new search
    • dotnet new install
    • dotnet new uninstall
    • dotnet new update
  • Proje Genel İşlemler için Komutlar
    • dotnet build
    • dotnet clean
    • dotnet publish
    • dotnet run
  • Çözüm (Solution) İşlemleri için Komutlar
    • dotnet sln add
    • dotnet sln remove
    • dotnet sln list
  • Proje Paket İşlemleri Komutları
    • dotnet add package
    • dotnet remove package
    • dotnet list package
  • Projeler Arası Referans Tanımlama Komutları
    • dotnet add reference
    • dotnet remove reference
    • dotnet list reference
  • Proje Sertifika Komutları
    • dotnet dev-certs https
  • Proje Test Komutları
    • dotnet test
  • Dotnet Araçları Genel Komutları
    • dotnet tool list
    • dotnet tool run
    • dotnet tool search
    • dotnet tool install
    • dotnet tool uninstall
    • dotnet tool update
  • Dotnet Code Generator Komutları
    • dotnet aspnet-codegenerator area
    • dotnet aspnet-codegenerator controller
    • dotnet aspnet-codegenerator view
  • Entity Framework Core Migrasyon Komutları
    • dotnet ef migrations add
    • dotnet ef migrations bundle
    • dotnet ef migrations list
    • dotnet ef migrations remove
    • dotnet ef migrations script
  • Entity Framework Core Veritabanı Komutları
    • dotnet ef database update
    • dotnet ef database drop
  • Entity Framework Core DbContext Komutları
    • dotnet ef dbcontext info
    • dotnet ef dbcontext list
    • dotnet ef dbcontext optimize
    • dotnet ef dbcontext scaffold
    • dotnet ef dbcontext script
Powered by GitBook
On this page
  • dotnet new update --help
  • dotnet new update
  1. Proje Şablon İşlemleri için Komutlar

dotnet new update

Bilgisayarımızda yüklü olan şablonları update komutu ile güncelleyebiliyoruz.

İlk olarak --help opsiyonu ile komut hakkında bilgi alalım.

dotnet new update --help

Komutu kullandığımızda aşağıda da belirtildiği gibi yüklü olan paketlerin güncellemeleri bilgisayarımıza indirilip yükleniyor.

Burada paket seçimi maalesef yapılamıyor. Komut ile tüm paketler güncellenebiliyor.

eg@debian:~$ dotnet new update --help
Description:
  Checks the currently installed template packages for update, and install the updates.

Usage:
  dotnet new update [options]

Options:
  --interactive                                Allows the command to stop and wait for user input or action (for example to complete authentication).
  --add-source, --nuget-source <nuget-source>  Specifies a NuGet source to use during install.
  --check-only, --dry-run                      Only checks for updates and display the template packages to be updated without applying update.
  -v, --verbosity <LEVEL>                      Sets the verbosity level. Allowed values are q[uiet], m[inimal], n[ormal], and diag[nostic]. [default: normal]
  -d, --diagnostics                            Enables diagnostic output.
  -?, -h, --help                               Show command line help.

dotnet new update

Komutu aşağıdaki gibi kullandığımızda görüldüğü gibi herhangi bir güncelleme olmadığı için yükleme işlemi yapılmadı.

eg@debian:~$ dotnet new update
All template packages are up-to-date.
Previousdotnet new uninstallNextProje Genel İşlemler için Komutlar

Last updated 1 year ago