Config changes in .Net40 and .Net45