From 4c044562aa3f2ca098ac4e76577eb8352566d868 Mon Sep 17 00:00:00 2001 From: Jonny K Date: Wed, 18 Sep 2024 14:13:38 -0500 Subject: [PATCH] Add UriKind.RelativeOrAbsolute --- src/CSharpLanguageServer/Conversions.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CSharpLanguageServer/Conversions.fs b/src/CSharpLanguageServer/Conversions.fs index a951a71a..cf153e2d 100644 --- a/src/CSharpLanguageServer/Conversions.fs +++ b/src/CSharpLanguageServer/Conversions.fs @@ -22,7 +22,7 @@ module Uri = if path.StartsWith(metadataPrefix) then "csharp:/metadata/" + path.Substring(metadataPrefix.Length) else - Uri(path).ToString() + Uri(path, UriKind.RelativeOrAbsolute).ToString() let toWorkspaceFolder(uri: string): WorkspaceFolder = { Uri = uri