Skip to content

Commit 288a4dd

Browse files
committed
Fix DotNetCliExePath
1 parent d25ff09 commit 288a4dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/dotnet/ReSharperPlugin.DotNetDisassembler/JitDisasmAdapters/JitDisasmProjectContextFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ private static string GetDotNetCliExePath(ISolution solution)
3636
var protocolSolution = solution.GetProtocolSolution();
3737
var runtimeModel = protocolSolution.GetDotNetActiveRuntimeModel();
3838
var activeRuntime = runtimeModel.ActiveRuntime.Maybe.ValueOrDefault;
39-
return activeRuntime?.DotNetCliExePath;
39+
return activeRuntime?.DotNetCliExePath?.Value ?? "dotnet";
4040
}
4141
}

0 commit comments

Comments
 (0)