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