You've already forked com.unity.ide.cursor
mirror of
https://github.com/boxqkrtm/com.unity.ide.cursor.git
synced 2026-05-18 16:50:11 +00:00
com.unity.ide.visualstudio@2.0.11
## [2.0.11] - 2021-07-01 Integration: - Added support for Visual Studio and Visual Studio For Mac 2022. - Fixed an issue when the package was enabled for background processes. Project generation: - Use absolute paths for Analyzers and rulesets. ## [2.0.10] - 2021-06-10 Project generation: - Improved project generation performance when a file is moved, deleted or modified. Integration: - Improved Inner-loop performance by avoiding to call the package manager when looking up `vswhere` utility. - Fixed a network issue preventing the communication between Visual Studio and Unity on Windows.
This commit is contained in:
@@ -21,9 +21,7 @@ namespace Microsoft.Unity.VisualStudio.Editor
|
||||
|
||||
public static void FindVSWhere()
|
||||
{
|
||||
_vsWherePath = FileUtility
|
||||
.FindPackageAssetFullPath("VSWhere a:packages", "vswhere.exe")
|
||||
.FirstOrDefault();
|
||||
_vsWherePath = FileUtility.GetPackageAssetFullPath("Editor", "VSWhere", "vswhere.exe");
|
||||
}
|
||||
|
||||
public static IEnumerable<IVisualStudioInstallation> GetVisualStudioInstallations()
|
||||
@@ -71,7 +69,12 @@ namespace Microsoft.Unity.VisualStudio.Editor
|
||||
|
||||
// On Mac we use the .app folder, so we need to access to main assembly
|
||||
if (VisualStudioEditor.IsOSX)
|
||||
fvi = Path.Combine(editorPath, "Contents", "Resources", "lib", "monodevelop", "bin", "VisualStudio.exe");
|
||||
{
|
||||
fvi = Path.Combine(editorPath, "Contents/Resources/lib/monodevelop/bin/VisualStudio.exe");
|
||||
|
||||
if (!File.Exists(fvi))
|
||||
fvi = Path.Combine(editorPath, "Contents/MonoBundle/VisualStudio.exe");
|
||||
}
|
||||
|
||||
if (!File.Exists(fvi))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user