Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Editor/VisualStudioCursorInstallation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,12 @@ public override bool Open(string path, int line, int column, string solution)
var application = Path;

var workspace = TryFindWorkspace(directory);
// Use version-compatible null-coalescing for Unity 2019.4 (C# 7.3) support
#if UNITY_2020_2_OR_NEWER
workspace ??= directory;
#else
workspace = workspace ?? directory;
#endif
directory = workspace;

if (EditorPrefs.GetBool(ReuseExistingWindowKey, false))
Expand Down