How to install .NET 3.5 on Windows 10?

I need to install .Net 3.5 so that I can use SQL Server Express / Local Db in Visual Studio.

I poisoned the Internet, looking for answers, and nothing works.

He stuck with this all night, it allows .Net 3.5 from the control panel.

http://imgur.com/YZcIJeX

I even rebooted Windows 10 and ran this DISM command

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:c:\sources\sxs 

but he still hangs and does nothing.

http://imgur.com/C0OS3Lc

If anyone could help me, that would be very helpful.

+5
source share
4 answers

.NET 3.5 cannot be installed over the Internet. You must use the installation DVD or ISO downloaded from the Microsoft website. use this command to install

DISM /Online /Enable-Feature /FeatureName:NetFx3 /Source:d:\sources\sxs /All /LimitAccess

d: should be

  • ISO image of a disk if you use an ISO file
  • DVD drive if you are using a DVD installation

A few important points.

  • If you use an ISO file, errors may occur if you try to use an ISO from a network location.
  • If you download the ISO from the Microsoft website, pay attention to the 32-bit and 64-bit versions.
  • Run the command line as administrator to run this command
  • If your command line hangs without any response, perhaps this means some installation of Windows updates is in progress. Therefore, restart your computer and try again.
  • Go to the "Turn Windows On and Off" window. If you installed it correctly, you can see that the .NET Framework 3.5 is installed.

Here is a walkthrough that I wrote. http://codeketchup.blogspot.sg/2015/11/how-to-install-net-framework-35-on.html

+7
source

If you have access to an MSDN subscription, download Windows 10 Features on Demand ISO, mount it, and run this command:

 DISM.EXE /Online /Add-Capability /CapabilityName:NetFx3~~~~ /Source:D:\ 

(where D: ISO set)

If this fails, run this command to add the files back to Windows

 DISM.EXE /Online /Add-Package /PackagePath:D:\Microsoft-Windows-NetFx3-OnDemand-Package.cab 

and now go to the user interface to enable this feature.

+2
source

If you do not have Windows installation media or it is easier for you:

These are methods without the command line DISM command that work interactively - for the first two you need current Internet access:

  • It is usually sufficient to run an application that requires .NET 3.5 and Windows to display a dialog box for installation over the Internet.

  • Enter "window functions" in the magnifying glass (search) bar, except for the start button, and switch to

    Turn Windows features on or off
    Control Panel

    You will then find the famous dialog from previous versions to enable .NET 3.5 features, etc. (At least I could not find it from the new settings dialog box without searching.)

  • If you upgraded Windows 10 , and you had .NET 3.5 activated before Win 7 or 8.x, then you do not need to do anything, it also activates in Windows 10.

  • Here is the real standalone "crash" installer : http://www.smart-arab.com/2013/12/install-net-on-windows-8-1-and-windows-10-offline/ Of course, this is not an official path .

+1
source

You need to go to add uninstall programs, then add functions to windows, and then select them here. This will install .net 3.5 and 2.0

change 1

Open a command prompt (cmd.exe) as an administrator and run the following command to install .Net 3.5:

 DISM /Online /Enable-Feature /FeatureName:NetFx3 /Source:d:\sources\sxs /All /LimitAccess 

(replace D: with your installed Win10 ISO)

In some environments, DISM cannot receive a file (proxies, network policies). DISM command takes DVD files and you're fine

0
source

Source: https://habr.com/ru/post/1235058/


All Articles