/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer.UnitTests/Utilities/TestPaths.cs
34 строки
1 KB
David Barbet
Implement LSP daemon mode (#84199)
25 июл 2026, 00:26
Не верифицирован
25 июл 2026, 00:26
490f516
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace Microsoft.CodeAnalysis.LanguageServer.UnitTests; internal static class TestPaths { /// <summary> /// Build places DevKit files to this subdirectory. /// </summary> private const string DevKitExtensionSubdirectory = "DevKit"; private const string DevKitAssemblyFileName = "Microsoft.VisualStudio.LanguageServices.DevKit.dll"; public static string GetDevKitExtensionPath() => Path.Combine(AppContext.BaseDirectory, DevKitExtensionSubdirectory, DevKitAssemblyFileName); /// <summary> /// Build places RoslynLSP files to this subdirectory. /// </summary> private const string LanguageServerSubdirectory = "RoslynLSP"; /// <summary> /// The thin client (dotnet tool entry point) is deployed into the same directory as the language server it /// bundles, so that its <c>ServerExecutable</c> finds the server next to itself. /// </summary> private const string ThinClientAssemblyFileName = "roslyn-language-server.dll"; public static string GetLanguageServerDirectory() => Path.Combine(AppContext.BaseDirectory, LanguageServerSubdirectory); public static string GetThinClientPath() => Path.Combine(GetLanguageServerDirectory(), ThinClientAssemblyFileName); }