16 August 2009

You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5.

While trying to install Visual Studio 2008 on a Windows 2008 R2 machine you may get the following error.

You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5.

This is because Windows 2008 R2 ships with the .NET 3.5.1 framework. You just need to enable the feature from Server Manager.

vs2k8win2k8r2sm

So before starting the Visual Studio 2008 Setup install the .NET Framework 3.5.1 Features from the Add Features Wizard in Server Manager.

After that when you run the Visual Studio 2008 Setup, the installer will detect that the 3.5 framework is already installed and skip to the next step.

Bookmark and Share

Filed under:
 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Frank Cottrell said:

Excellent assistance with this one

18 August 09 at 8:53 PM
# Nate Bruneau said:

You can also use powershell cmdlets to install .NET 3.5.1

import-module ServerManager

Get-command -module ServerManager

CommandType     Name

-----------     ----

Cmdlet          Add-WindowsFeature

Cmdlet          Get-WindowsFeature

Cmdlet          Remove-WindowsFeature

Get-WindowsFeature *NET*

Add-WindowsFeature AS-NET-Framework

01 September 09 at 7:41 PM
# leafy said:

Cool!

I'm confused by this error message for about half hour...

21 September 09 at 2:46 AM
# Steve Lessard said:

Another command you can use (without PowerShell) to install .NET 3.5 SP1 on Server 2008 R2 is this:

%windir%\system32\ocsetup.exe NetFx3

07 October 09 at 4:59 PM

Leave a Comment

Comment Policy: No HTML allowed. URIs and line breaks are converted automatically. Your e–mail address will not show up on any public page.

(required) 
(optional)
(required) 

  
Enter Code Here: Required
Page view tracker