Win10安装.net2.0/3.0

Windows 安装.net2.0/3.0

将下列代码拷到本地bat文件中(bat文件和sxs文件夹同级),下载适用的.net安装包版本后放置到sxs文件夹,用管理员权限执行bat文件即可。

@echo off
pushd %~dp0
IF NOT EXIST D:sourcessxs MD D:sourcessxs
echo .....Begin To Copy Files.....
xcopy ".sxs" "D:sourcessxs" /E/Y
echo .....Finished Copy Files.....

dism /online /Enable-Feature /all /FeatureName:NetFx3 /Source:D:sourcessxs /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

下载

原文地址:https://www.cnblogs.com/createwell/p/12763284.html