As we all know, SharePoint 2010 is still using the .NET Framework 3.5. That means that your servers may not have the latest .NET Framework 4.0 installed. This could cause some issues if you’re trying to use APIs from 4.0, or if you are trying to build some new tools using 4.0, like PowerShell management extensions for example. The solution is to install 4.0 on your server. Here’s the quick Step-by-Step for doing this on a Windows Server 2008 R2 x64 system with SharePoint 2010 installed.
- Begin by downloading the full version of the Framework from here:
- Once downloaded, double click the installer file named “dotnetFx40_Full_x86_x64.exe”.
- Windows may require you to confirm that you wish to launch the EXE. If it does, simply click “Run”.
- You’d have to accept the EULA. Check the “I have read and accept the license terms” check box.
- Click the “Install” button to commence the installation.
- The installer will crunch away for a while as it installs the Framework.
- Once installation complete, click the “Finish” button.
- No server restart is needed. 🙂