Switch to .NET 4.0.

** DO NOT MERGE **

/CC @niksedk 

- [ ] Use the client or full .NET 4.0?