/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/FileBasedPrograms/IFileBasedProgramServiceExtensions.cs
16 строк
800 B
Jan Jones
Allow MSBuildWorkspace to open file-based apps (#84139)
30 июл 2026, 11:03
Не верифицирован
30 июл 2026, 11:03
7e7ebef
Код
Авторство
О чём код?
// 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. using Microsoft.CodeAnalysis.FileBasedPrograms; namespace Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms; internal static class IFileBasedProgramServiceExtensions { internal static string GetDiscoveryCacheDirectory(this IFileBasedProgramService fileBasedProgramService, string workspaceFolder) => fileBasedProgramService.GetArtifactsPath(workspaceFolder, "runfile-discovery"); internal static string GetDiscoveryCacheRootDirectory(this IFileBasedProgramService fileBasedProgramService) => fileBasedProgramService.GetTempSubdirectory("runfile-discovery"); }