Popüler: Veriler 29 Kasım 2026 tarihinde güncellendi

Kategoriler

İnternet1.433
İletişim331
Ses ve video944
Grafik ve tasarım571
Ofis ve verimlilik1.195
Geliştirici araçları3.311
Yapay zekâ araçları620
Güvenlik ve gizlilik415
Sistem araçları3.231
Oyunlar548
Eğitim ve bilim243
Ağ ve BT297

.NET CodeContracts sessiz kurulum ve kaldırma

Provides a language-agnostic way to express coding assumptions in .NET programs.

.NET CodeContracts programını soru sormadan kurmak, kaldırmak ve dağıtım araçlarında algılamak için komutlar. Bir komut yalnızca kesinse gösterilir: manifestteki anahtar ya da kurulum teknolojisinin belgelenmiş varsayılanı.

İlgili rehber: Sessiz kurulum parametreleri: MSI, NSIS, Inno Setup · Kayıt defteri veya PowerShell ile program kaldırma

winget ile

PowerShell
winget install --id Microsoft.DotNet.CodeContracts -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id Microsoft.DotNet.CodeContracts -e --silent
winget uninstall --id Microsoft.DotNet.CodeContracts -e --silent

Kurulum dosyasına göre

32 bit · MSI · en-US

Sessiz kurulummsiexec /i Contracts.devlab9ts.msi /qn /norestart
Günlük dosyası yazmsiexec /i Contracts.devlab9ts.msi /qn /norestart /l*v "%TEMP%\net-codecontracts-install.log"
Kaldırmamsiexec /x {4ED22F53-768D-4286-9F55-4927F1D67B4F} /qn /norestart
MSI ürün kodu
{4ED22F53-768D-4286-9F55-4927F1D67B4F}
Kaldırma kayıt defteri anahtarı
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{4ED22F53-768D-4286-9F55-4927F1D67B4F}

PowerShell: indir, doğrula, kur

Resmî dosyayı indirir, SHA256 değerini doğrular ve sessizce kurar.

install-net-codecontracts.ps1
$url = 'https://github.com/microsoft/CodeContracts/releases/download/v1.10.20606.1/Contracts.devlab9ts.msi'
$sha256 = '5A2E44751A650A8442DFE1A41484E960B46EAA1A55B25672F6537A1D59015F5B'
$file = Join-Path $env:TEMP 'Contracts.devlab9ts.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait

Microsoft Corporation yayıncısının diğer programları

Tümünü gör
  • PowerShellTerminal ve komut satırı · Microsoft Corporation
  • PowerToysKişiselleştirme · Microsoft Corporation
  • NuGetPaket yöneticileri ve güncelleyiciler · Microsoft Corporation
  • Microsoft Azure CLITerminal ve komut satırı · Microsoft Corporation
  • OpenSSH PreviewFTP ve dosya aktarımı · Microsoft Corporation
  • Bicep CLIDiller ve SDK’lar · Microsoft Corporation

Etiketler

Paylaş