Populars: Dades actualitzades el 27 d’octubre del 2026

Categories

Internet1.356
Comunicació321
Àudio i vídeo898
Gràfics i disseny539
Ofimàtica i productivitat1.124
Eines per a desenvolupadors3.134
Eines d’IA529
Seguretat i privadesa385
Eines del sistema3.114
Jocs523
Educació i ciència239
Xarxa i TI284

Microsoft .NET Native Runtime: instal·lació silenciosa i desinstal·lació

A pre-compilation technology for building Universal Windows (UWP) applications in Visual Studio 2015 and later. Applications are automatically compiled to native code before they reach consumer devices.

Ordres per instal·lar Microsoft .NET Native Runtime sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.

Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell

Amb winget

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

Per instal·lador

64 bits · ZIP

Instal·lació silenciosaAdd-AppxPackage -Path Dependencies.zip
Desinstal·larGet-AppxPackage -Name Microsoft.NET.Native.Runtime.2.2 | Remove-AppxPackage

ARM64 · ZIP

Instal·lació silenciosaAdd-AppxPackage -Path Dependencies.zip
Desinstal·larGet-AppxPackage -Name Microsoft.NET.Native.Runtime.2.2 | Remove-AppxPackage

32 bits · ZIP

Instal·lació silenciosaAdd-AppxPackage -Path Dependencies.zip
Desinstal·larGet-AppxPackage -Name Microsoft.NET.Native.Runtime.2.2 | Remove-AppxPackage

PowerShell: baixar, verificar, instal·lar

Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.

install-microsoft-net-native-runtime.ps1
$url = 'https://github.com/microsoft/busiotools/releases/download/v2.8.0/Dependencies.zip'
$sha256 = '91B666A399CBA3E6D3A6816C80B0422D4BCDAB2A7FBE6F19E6D080B63BDC637F'
$file = Join-Path $env:TEMP 'Dependencies.zip'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file

Més programes de Microsoft Corporation

Mostra-ho tot
  • PowerShellTerminals i línia d’ordres · Microsoft Corporation
  • PowerToysPersonalització · Microsoft Corporation
  • NuGetGestors de paquets i actualitzadors · Microsoft Corporation
  • Microsoft Azure CLITerminals i línia d’ordres · Microsoft Corporation
  • OpenSSH PreviewFTP i transferència de fitxers · Microsoft Corporation
  • Bicep CLILlenguatges i SDK · Microsoft Corporation

Etiquetes

Comparteix