To gain access to all .NET libraries available on your PC, you may want to tweak the element called TargetFrameworkProfile in the project file (=<your-project-name>.csproj). Follow the steps below:
- Open that file in a code editor of your choice (for example, in Notepad++),
- Find the TargetFrameworkProfile element. Notice that it is set to Client like below:
- Change it to <TargetFrameworkProfile />.
- Then restart the project and enjoy the full version of the .NET Framework!