1 write to RunningInVisualStudio
Microsoft.Build (1)
BuildEnvironmentHelper.cs (1)
548RunningInVisualStudio = runningInVisualStudio;
16 references to RunningInVisualStudio
Microsoft.Build (4)
BackEnd\BuildManager\BuildManager.cs (1)
1305&& BuildEnvironmentHelper.Instance.RunningInVisualStudio
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
843if (!NativeMethodsShared.IsWindows || BuildEnvironmentHelper.Instance.RunningInVisualStudio)
Evaluation\Evaluator.cs (1)
784if (BuildEnvironmentHelper.Instance.RunningInVisualStudio)
Utilities\NuGetFrameworkWrapper.cs (1)
213(BuildEnvironmentHelper.Instance.RunningInMSBuildExe || BuildEnvironmentHelper.Instance.RunningInVisualStudio))
Microsoft.Build.Engine.UnitTests (12)
BuildEnvironmentHelper_Tests.cs (12)
55BuildEnvironmentHelper.Instance.RunningInVisualStudio.ShouldBeFalse(); 86BuildEnvironmentHelper.Instance.RunningInVisualStudio.ShouldBeFalse(); 102BuildEnvironmentHelper.Instance.RunningInVisualStudio.ShouldBeFalse(); 119BuildEnvironmentHelper.Instance.RunningInVisualStudio.ShouldBeFalse(); 135BuildEnvironmentHelper.Instance.RunningInVisualStudio.ShouldBeFalse(); 152BuildEnvironmentHelper.Instance.RunningInVisualStudio.ShouldBeFalse(); 169BuildEnvironmentHelper.Instance.RunningInVisualStudio.ShouldBeFalse(); 188BuildEnvironmentHelper.Instance.RunningInVisualStudio.ShouldBeFalse(); 205BuildEnvironmentHelper.Instance.RunningInVisualStudio.ShouldBeTrue(); 310BuildEnvironmentHelper.Instance.RunningInVisualStudio.ShouldBeFalse(); 320BuildEnvironmentHelper.Instance.RunningInVisualStudio.ShouldBeTrue(); 333BuildEnvironmentHelper.Instance.RunningInVisualStudio.ShouldBeTrue();