com.unity.ide.visualstudio@2.0.14

## [2.0.14] - 2022-01-14

Integration:

- Remove package version checking.

## [2.0.13] - 2022-01-12

Integration:

- Fixed wrong path to analyzers in generated projects when using external packages.
- Fixed selective project generation not creating Analyzer/LangVersion nodes.
- Fixed asmdef references with Player projects.

Documentation:

- Added new documentation including ToC, overview, how to use and images.
This commit is contained in:
Unity Technologies
2022-01-14 00:00:00 +00:00
parent 154360465a
commit fa2de33e64
15 changed files with 105 additions and 101 deletions

View File

@@ -56,10 +56,10 @@ namespace Microsoft.Unity.VisualStudio.Editor
return relative == Path.GetFileName(relative);
}
public static string MakeAbsolutePath(this string path, string projectDirectory)
public static string MakeAbsolutePath(this string path)
{
if (string.IsNullOrEmpty(path)) { return string.Empty; }
return Path.IsPathRooted(path) ? path : Path.Combine(projectDirectory, path);
return Path.IsPathRooted(path) ? path : Path.GetFullPath(path);
}
// returns null if outside of the project scope