Update to framework 4.5 and change logging to log4net