removed dependency on System.Deployment