Windows 10 đi kèm với net framework 4.5 cài đặt sẵn, nhưng nhiều ứng dụng phát triển trong Vista và cửa sổ 7 thời đại đòi hỏi net framework v3.5 cài đặt cùng với 4.5. These apps will not run unless you will install the required version. When you try to run any such app, Windows 10 will prompt you to download and install .NET framework 3.5 from the Internet. Tuy nhiên, this will take a lot of time. You can save your time and install .NET Framework 3.5 from the Windows 10 vật chứa cài đặt. This method is much faster and does not even require an Internet connection. Here is how to install it.
To install .NET Framework 3.5 trong Windows 10, thực hiện như sau:
- Insert your Windows 10 DVD, or double click its ISO image, or insert your bootable flash drive with Windows 10, depending on what you have.
- Open ‘This PC’ in File Explorer and note the drive letter of the installation media you have inserted. In my case it is disk D:
- Now open an elevated command prompt and type the following command:
Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:sourcessxs /LimitAccess
Replace D: with your drive letter for Windows 10 installation media.
Bạn đang thực hiện! This will install .NET framework 3.5 in Windows 10.
To save your time, I have prepared a simple batch file which will save your time and will find the inserted installation media automatically. Nó trông như thế này:
@echo off Title .NET Framework 3.5 Offline Installer for %%I in (D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist "%%Tôi:sourcesinstall.wim" set setupdrv=%%I if defined setupdrv ( echo Found drive %setupdrv% echo Installing .NET Framework 3.5... Dism /online /enable-feature /featurename:NetFX3 /All /Source:%setupdrv%:sourcessxs /LimitAccess echo. echo .NET Framework 3.5 should be installed echo. ) khác ( echo No installation media found! echo Insert DVD or USB flash drive and run this file once again. ECHO. ) tạm dừng
Download the file, extract it from the ZIP archive to the Desktop, right click it and choose Run as administrator. The file will install .NET Framework 3.5 automatically after finding the drive letter of your Windows 10 installation media.