Fixed dependencies to get the right version of IApplicationEnvironment