com.unity.ide.visualstudio@2.0.12

## [2.0.12] - 2021-10-20

Integration:

- Do not block asset opening when only a VS instance without a loaded solution is found.
- Only check package version once per Unity session.
- Improved support for Visual Studio For Mac 2022.
This commit is contained in:
Unity Technologies
2021-10-20 00:00:00 +00:00
parent f6444c620d
commit 154360465a
8 changed files with 66 additions and 7 deletions

View File

@@ -256,8 +256,10 @@ static win::ComPtr<EnvDTE::_DTE> FindRunningVisualStudioWithSolution(
continue;
std::filesystem::path currentSolutionPath = std::wstring(solutionFullName);
if (!currentSolutionPath.empty())
std::wcout << "Visual Studio opened on " << currentSolutionPath.wstring() << std::endl;
if (currentSolutionPath.empty())
continue;
std::wcout << "Visual Studio opened on " << currentSolutionPath.wstring() << std::endl;
// If the name matches the solution we want to open and we have a Visual Studio installation path to use and this one matches that path, then use it.
// If we don't have a Visual Studio installation path to use, just use this solution.