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