private void SetRemoteHostBitness() { bool x64 = RemoteHostOptions.IsServiceHubProcess64Bit(_workspace); // log OOP bitness Logger.Log(FunctionId.RemoteHost_Bitness, KeyValueLogMessage.Create(LogType.Trace, m => m["64bit"] = x64)); // set service bitness WellKnownRemoteHostServices.Set64bit(x64); WellKnownServiceHubServices.Set64bit(x64); }
private void SetRemoteHostBitness() { var x64 = _workspace.Options.GetOption(RemoteHostOptions.OOP64Bit); if (!x64) { x64 = _workspace.Services.GetService <IExperimentationService>().IsExperimentEnabled(WellKnownExperimentNames.RoslynOOP64bit); } // log OOP bitness Logger.Log(FunctionId.RemoteHost_Bitness, KeyValueLogMessage.Create(LogType.Trace, m => m["64bit"] = x64)); // set service bitness WellKnownRemoteHostServices.Set64bit(x64); WellKnownServiceHubServices.Set64bit(x64); }