Windows 8: Enable .NET Framework 3.5 (includes .NET 2.0 and 3.0) feature in Online & Offline mode!
2014-03-27 23:45
411 查看
http://blogs.technet.com/b/aviraj/archive/2012/08/04/windows-8-enable-net-framework-3-5-includes-net-2-0-and-3-0-i-e-netfx3-feature-in-online-amp-offline-mode.aspx
Aviraj
Ajgekar, MSFT
4 Aug 2012 5:08 AM
208
I have been using Windows 8 for last few months. When Windows 8 CP released I installed CP & subsequently RP too. When I wanted to install some 3rd party application in my Windows 8 VM, I realized that these applications require .NET
Framework 2.0 or 3.0 in few cases. Apparently my virtual machine does not have internet connection. Obviously the first step for us is to check the Program and Features to enable any available additional features in an Operating System. This
is what you see in your Control Panel –> Program and Features. Click on Turn Windows features on or off.
Here you can see .NET Framework as a feature and by default the feature is disabled. You can enable this particular right away using this GUI Tool but in order to do that you need to be connected to internet i.e. Online Mode.
Other way is using DISM Command and this can be done in an Offline Modeusing Windows 8 installation media. Let’s see these 2 methods.
Method 1: When you are Online, connected to Internet.
In order to install the following window click on the .NET Framework 3.5 (included .NET 2.0 and 3.0) select it & click OK
Now, it will download the entire package from the internet & install the .NET Framework feature.
Method 2: When you are Offline and not connected to Internet
If you open CMD.EXE with Administrative Privileges i.e. at elevated level & run the this DISM command dism /online /get-features you will see that from the State that .NET Framework is not part of the Operating System.
So the first thing you need to do is to copy the required package to local machine before you run the command to install .NET Framework. To do that use Windows 8 ISO/DVD/USB Media. You need to copy SXS folder to local
machine located at D:\sources\sxs (In this case D: your drive letter on which you have loaded Windows 8 Media)
You can also use the following command to copy this folder locally. xcopy d:\sxs\*.* c:\sxs /s
Once completed, in order to install this feature you can run the following command dism /online /enable-feature /featurename:NetFx3 /All /Source:C:\sxs /LimitAccess and hit Enter
After completing the installation of .NET Framework 3.5 you can see that the feature is enabled in the Control Panel –> Program and Features
Bingo. Now you can enable .NET Framework feature on Windows 8 without needing of an internet connection.
Enjoy
Update: There was a small typo in the command, I missed including : between source:C:\. I did fix it.
Thank you all for your comments & pointing that out :)
Windows 8: Enable .NET Framework 3.5 (includes .NET 2.0 and 3.0) i.e. (NetFx3) feature in Online & Offline mode!
Aviraj
Ajgekar, MSFT
4 Aug 2012 5:08 AM
208
I have been using Windows 8 for last few months. When Windows 8 CP released I installed CP & subsequently RP too. When I wanted to install some 3rd party application in my Windows 8 VM, I realized that these applications require .NET
Framework 2.0 or 3.0 in few cases. Apparently my virtual machine does not have internet connection. Obviously the first step for us is to check the Program and Features to enable any available additional features in an Operating System. This
is what you see in your Control Panel –> Program and Features. Click on Turn Windows features on or off.
Here you can see .NET Framework as a feature and by default the feature is disabled. You can enable this particular right away using this GUI Tool but in order to do that you need to be connected to internet i.e. Online Mode.
Other way is using DISM Command and this can be done in an Offline Modeusing Windows 8 installation media. Let’s see these 2 methods.
Method 1: When you are Online, connected to Internet.
In order to install the following window click on the .NET Framework 3.5 (included .NET 2.0 and 3.0) select it & click OK
Now, it will download the entire package from the internet & install the .NET Framework feature.
Method 2: When you are Offline and not connected to Internet
If you open CMD.EXE with Administrative Privileges i.e. at elevated level & run the this DISM command dism /online /get-features you will see that from the State that .NET Framework is not part of the Operating System.
So the first thing you need to do is to copy the required package to local machine before you run the command to install .NET Framework. To do that use Windows 8 ISO/DVD/USB Media. You need to copy SXS folder to local
machine located at D:\sources\sxs (In this case D: your drive letter on which you have loaded Windows 8 Media)
You can also use the following command to copy this folder locally. xcopy d:\sxs\*.* c:\sxs /s
Once completed, in order to install this feature you can run the following command dism /online /enable-feature /featurename:NetFx3 /All /Source:C:\sxs /LimitAccess and hit Enter
After completing the installation of .NET Framework 3.5 you can see that the feature is enabled in the Control Panel –> Program and Features
Bingo. Now you can enable .NET Framework feature on Windows 8 without needing of an internet connection.
Enjoy
Update: There was a small typo in the command, I missed including : between source:C:\. I did fix it.
Thank you all for your comments & pointing that out :)
相关文章推荐
- Windows 8(虚拟机环境)安装.NET Framework3.5(includes .NET 2.0 and 3.0)
- Use Windows Authentication in ASP.NET 2.0/ASP.NET 2.0 中的 Windows 身份验证
- Simplified and Extended Data Binding Syntax in ASP.NET 2.0 -- Cont'd
- .NET Compact Framework 3.5 in Platform Builder 6.0 (and 5.0)
- Pro .NET 2.0 Windows Forms and Custom Controls in C#
- External BLOB/Binary Store for Windows SharePoint Services 3.0 in C#/.NET 2.0 - Part I(转) 把 sharepoint 大文件保存解决方案
- ASP.NET 2.0: Add build-in paging feature to repeater/为repeater添加内置分页功能
- .NET Framework 1.1、2.0、3.0、3.5、4.0各版本新增功能
- Use Windows Authentication in ASP.NET 2.0/ASP.NET 2.0 中的 Windows 身份验证
- Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 (ISO)
- Pro .NET 2.0 Windows Forms and Custom Controls in VB 2005
- 安装Windows SDK for Windows Server 2008 and .NET Framework 3.5之后,WPF和Silverlight没有了智能提示
- Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 (ISO)
- What's New in System.Xml for Visual Studio 2005 and the .NET Framework 2.0 Release
- 如何使用<Beginning ASP.NET 3.5 in C# and VB>书中的示例代码
- Pro .NET 2.0 Windows Forms and Custom Controls in C#
- New examples for the Microsoft .NET Framework 2.0 online and Google group Ajax.NET
- What's New in the .NET Framework 2.0 Beta
- .NET Framework 2.0/3.0/3.5 以 v90 平台工具集为目标。请确保在计算机上安装了 Visual Studio 2008
- .NET Framework 1.1、2.0、3.0、3.5、4.0各版本新增功能