We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4d9585 commit 1c17cf1Copy full SHA for 1c17cf1
Packages/com.unity.ide.visualstudio/Editor/VisualStudioEditor.cs
@@ -43,6 +43,7 @@ static VisualStudioEditor()
43
_discoverInstallations = AsyncOperation<Dictionary<string, IVisualStudioInstallation>>.Run(DiscoverInstallations);
44
}
45
46
+#if UNITY_2019_4_OR_NEWER && !UNITY_2020
47
[InitializeOnLoadMethod]
48
static void LegacyVisualStudioCodePackageDisabler()
49
{
@@ -56,6 +57,7 @@ static void LegacyVisualStudioCodePackageDisabler()
56
57
58
CodeEditor.Unregister(editor);
59
60
+#endif
61
62
private static Dictionary<string, IVisualStudioInstallation> DiscoverInstallations()
63
0 commit comments