15 references to BuildEnvironmentMode
Microsoft.Build.Utilities.Core (15)
BuildEnvironmentHelper.cs (15)
120BuildEnvironmentMode.None,
154BuildEnvironmentMode.VisualStudio,
175BuildEnvironmentMode.VisualStudio,
185BuildEnvironmentMode.Standalone,
227BuildEnvironmentMode.Standalone,
249BuildEnvironmentMode.VisualStudio,
280BuildEnvironmentMode.VisualStudio,
313BuildEnvironmentMode.VisualStudio,
346BuildEnvironmentMode.Standalone,
539public BuildEnvironment(BuildEnvironmentMode mode, string currentMSBuildExePath, bool runningTests, bool runningInMSBuildExe, bool runningInVisualStudio,
570if (mode == BuildEnvironmentMode.None || currentMSBuildExeFile == null || currentToolsDirectory == null)
577if (mode == BuildEnvironmentMode.VisualStudio)
609var existsCheck = mode == BuildEnvironmentMode.VisualStudio ? new Func<string, bool>(_ => true) : File.Exists;
622MSBuildExtensionsPath = mode == BuildEnvironmentMode.VisualStudio
627internal BuildEnvironmentMode Mode { get; }