I found a workaround:
The .csproj file .csproj an xml element named TargetFrameworkProfile , which is installed in Client . When I remove the word "Client" and thus free the xml node, the project is built as a complete assembly of .Net 4.0.
You can even upgrade your project to .NET 4.5 or higher by changing the TargetFrameworkVersion element. We use this to be able to use the Kinect One camera in XNA games.
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
Wouter
source share