fix .net40 configuration