工作原因需要安装vs2008,但是依赖.net3.5,寻找可以离线安装的版本
dotnetfx35.exe /x
dotnetfx35setup.exe /lang:ENU /norestart
多番尝试,找到如下方案
dism.exe /online /enable-feature /featurename:netfx3 /Source:D:\sources\sxs
如有需要可将对应cab包提取出来制作离线包使用