You've already forked com.unity.ide.cursor
mirror of
https://github.com/boxqkrtm/com.unity.ide.cursor.git
synced 2026-05-16 15:30:08 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user