diff --git a/Deveroom.VisualStudio/Connectors/OutProcSpecFlowConnector.cs b/Deveroom.VisualStudio/Connectors/OutProcSpecFlowConnector.cs index bc3a471..80f8e6f 100644 --- a/Deveroom.VisualStudio/Connectors/OutProcSpecFlowConnector.cs +++ b/Deveroom.VisualStudio/Connectors/OutProcSpecFlowConnector.cs @@ -156,6 +156,8 @@ private string GetConnectorPath(List arguments) private string GetDotNetInstallLocation() { var programFiles = Environment.GetEnvironmentVariable("ProgramW6432"); + if (_configuration.ProcessorArchitecture == ProcessorArchitectureSetting.X86) + programFiles = Environment.GetEnvironmentVariable("ProgramFiles(x86)"); if (string.IsNullOrEmpty(programFiles)) programFiles = Environment.GetEnvironmentVariable("ProgramFiles"); return Path.Combine(programFiles, "dotnet");