1 write to _platformEnvironment
Microsoft.TestPlatform.TestHostRuntimeProvider (1)
Hosting\DotnetTestHostManager.cs (1)
123
_platformEnvironment
= platformEnvironment;
13 references to _platformEnvironment
Microsoft.TestPlatform.TestHostRuntimeProvider (13)
Hosting\DotnetTestHostManager.cs (13)
238
EqtTrace.Verbose($"DotnetTestHostmanager.GetTestHostProcessStartInfo: Platform environment '{
_platformEnvironment
.Architecture}' target architecture '{_architecture}' framework '{_targetFramework}' OS '{
_platformEnvironment
.OperatingSystem}'");
350
&&
_platformEnvironment
.OperatingSystem.Equals(PlatformOperatingSystem.Windows)
505
EqtTrace.Verbose($"DotnetTestHostmanager: Searching muxer for the architecture '{targetArchitecture}', OS '{
_platformEnvironment
.OperatingSystem}' framework '{_targetFramework}' SDK platform architecture '{
_platformEnvironment
.Architecture}'");
508
EqtTrace.Verbose($"DotnetTestHostmanager: Forcing the search to x64 architecure, IsDefaultTargetArchitecture '{_runsettingHelper.IsDefaultTargetArchitecture}' OS '{
_platformEnvironment
.OperatingSystem}' framework '{_targetFramework}'");
520
string message = string.Format(CultureInfo.CurrentCulture, TestHostResources.NoDotnetMuxerFoundForArchitecture, $"dotnet{(
_platformEnvironment
.OperatingSystem == PlatformOperatingSystem.Windows ? ".exe" : string.Empty)}", finalTargetArchitecture.ToString());
644
if (
_platformEnvironment
.OperatingSystem == PlatformOperatingSystem.Windows)
707
if (
_platformEnvironment
.OperatingSystem == PlatformOperatingSystem.OSX &&
708
_platformEnvironment
.Architecture == PlatformArchitecture.ARM64 &&
715
return
_platformEnvironment
.OperatingSystem == PlatformOperatingSystem.Windows &&
716
_platformEnvironment
.Architecture == PlatformArchitecture.ARM64 &&
787
if (
_platformEnvironment
.OperatingSystem != PlatformOperatingSystem.Windows