Moved AppHost outside Global. Added target framework 4.0 to config.