Skip to content

Commit

Permalink
Setting processorArchitecture in config file will determined which do…
Browse files Browse the repository at this point in the history
…tnet.exe version to use. (#62)
  • Loading branch information
mbendtsen authored and gasparnagy committed Jan 22, 2020
1 parent 6ce2877 commit 7786037
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Deveroom.VisualStudio/Connectors/OutProcSpecFlowConnector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ private string GetConnectorPath(List<string> 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");
Expand Down

0 comments on commit 7786037

Please sign in to comment.