Discover when .net 4.0 is not installed and give a proper error message

Fixes http://teampulse.telerik.com/view#item/281235