Revert "Set to .net framework 4.0"

This reverts commit f4f9c95b924383710a726d38fe7289d9ac1e8b6d.
Revert "Revert "Set to .net framework 4.0""

This reverts commit 78c744e7510976cf68ae2a4749f416e1de3e33a7.