Windows 安裝.net2.0/3.0spa
將下列代碼拷到本地bat文件中(bat文件和sxs文件夾同級),下載適用的.net安裝包版本後放置到sxs文件夾,用管理員權限執行bat文件便可。.net
@echo off pushd %~dp0 IF NOT EXIST D:\sources\sxs MD D:\sources\sxs echo .....Begin To Copy Files..... xcopy ".\sxs" "D:\sources\sxs\" /E/Y echo .....Finished Copy Files..... dism /online /Enable-Feature /all /FeatureName:NetFx3 /Source:D:\sources\sxs /LimitAccess @ECHO ON pause
.net2.0/3.0安裝包下載(下載後解壓到sxs文件夾中)code
widows 1909前版本 適用.net2.0/3.0blog
下載get
Windows1909 適用.net2.0/3.0 it
下載class
Windows2010R2 適用 .net2.0/3.0權限
下載下載