/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.devcontainer/devcontainer.json
72 строки
2 KB
Fred Silberberg
Update codespaces definitions (#82963)
28 мар 2026, 01:07
Не верифицирован
28 мар 2026, 01:07
d6e77ba
Код
Авторство
О чём код?
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: // https://github.com/microsoft/vscode-dev-containers/tree/v0.140.1/containers/dotnetcore { "name": "Roslyn (.NET 10)", "build": { "dockerfile": "Dockerfile", // Set the context to the workspace folder to allow us to copy files from it. "context": ".." }, "features": { "ghcr.io/devcontainers/features/github-cli:1": {}, "ghcr.io/devcontainers/features/powershell:2.0.1": {} }, "hostRequirements": { "cpus": 8, "memory": "16gb", "storage": "32gb" }, "waitFor": "updateContentCommand", "customizations": { "vscode": { "settings": { "files.associations": { "*.csproj": "msbuild", "*.fsproj": "msbuild", "*.globalconfig": "ini", "*.manifest": "xml", "*.nuspec": "xml", "*.pkgdef": "ini", "*.projitems": "msbuild", "*.props": "msbuild", "*.resx": "xml", "*.rsp": "Powershell", "*.ruleset": "xml", "*.settings": "xml", "*.shproj": "msbuild", "*.slnf": "json", "*.targets": "msbuild", "*.vbproj": "msbuild", "*.vsixmanifest": "xml", "*.vstemplate": "xml", "*.xlf": "xml", "*.yml": "azure-pipelines" }, // ms-dotnettools.csharp settings "omnisharp.disableMSBuildDiagnosticWarning": true, "omnisharp.enableEditorConfigSupport": true, "omnisharp.enableImportCompletion": true, "omnisharp.useModernNet": true, "omnisharp.enableAsyncCompletion": true, // ms-dotnettools.csdevkit settings "dotnet.defaultSolution": "Roslyn.slnx", // ms-vscode.powershell settings "powershell.promptToUpdatePowerShell": false, "powershell.integratedConsole.showOnStartup": false, "powershell.startAutomatically": false, // ms-azure-devops.azure-pipelines settings "azure-pipelines.customSchemaFile": ".vscode/dnceng-schema.json" }, "extensions": [ "ms-dotnettools.csharp", "ms-dotnettools.csdevkit", "EditorConfig.EditorConfig", "ms-vscode.powershell", "tintoy.msbuild-project-tools", "ms-azure-devops.azure-pipelines" ] } }, // Keep restore prebuild-friendly so Codespaces can cache the expensive first-run setup. "updateContentCommand": "${containerWorkspaceFolder}/.devcontainer/restore-workspace.sh Roslyn.slnx" }