9 instantiations of BuildEnvironment
MSBuildTaskHost (9)
BuildEnvironmentHelper.cs (9)
119return new BuildEnvironment( 153return new BuildEnvironment( 174return new BuildEnvironment( 184return new BuildEnvironment( 226return new BuildEnvironment( 248return new BuildEnvironment( 279return new BuildEnvironment( 312return new BuildEnvironment( 345return new BuildEnvironment(
16 references to BuildEnvironment
MSBuildTaskHost (16)
BuildEnvironmentHelper.cs (16)
45public static BuildEnvironment Instance 77private static BuildEnvironment Initialize() 80var possibleLocations = new Func<BuildEnvironment>[] 93var env = location(); 128private static BuildEnvironment TryFromEnvironmentVariable() 137private static BuildEnvironment TryFromVisualStudioProcess() 162private static BuildEnvironment TryFromMSBuildProcess() 193private static BuildEnvironment TryFromMSBuildAssembly() 206var environment = TryFromMSBuildExeUnderVisualStudio(msBuildExe); 238private static BuildEnvironment TryFromMSBuildExeUnderVisualStudio(string msbuildExe, bool allowLegacyToolsVersion = false) 260private static BuildEnvironment TryFromDevConsole() 288private static BuildEnvironment TryFromSetupApi() 321private static BuildEnvironment TryFromAppContextBaseDirectory() 340private static BuildEnvironment TryFromStandaloneMSBuildExe(string msBuildExePath) 486internal static void ResetInstance_ForUnitTestsOnly(BuildEnvironment buildEnvironment) 505public static BuildEnvironment s_instance = Initialize();