Win10安装.net2.0/3.0
Windows 安装.net2.0/3.0
将下列代码拷到本地bat文件中(bat文件和sxs文件夹同级),下载适用的.net安装包版本后放置到sxs文件夹,用管理员权限执行bat文件即可。
@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文件夹中)
widows 1909前版本 适用.net2.0/3.0
Windows1909 适用.net2.0/3.0
Windows2010R2 适用 .net2.0/3.0