Open foxt opened 11 months ago
Also doesn't work if I open the project folder its-self instead of the solution folder
same issue for me
No C# project is currently loaded. Please create a C# project in order to debug.
@foxt, for me the issue was resolved after I installed mono
@Dor-bl what did you do after installing Mono to get it to work in VS Code?
Nothing special as far as I remember. Just try to reopen vs code
Ah, dang. That doesn't do it for me. Thanks anyway!
How did you installed mono? Via the download file?
How did you installed mono? Via the download file?
Yes. I've managed to build and debug just now by disabling the C# Dev Kit extension, though...
Ah right. It won't work with the dev kit since it support only dotnet core
Ah, so Mono is an alternative to MS's C# Dev Kit then? I can't get the latter to work at all so perhaps Mono is where it's at for MacOS as it currently is.
Issue Description
Steps to Reproduce
Open a folder containing a solution created in VS in VSC and press F5.
Expected Behavior
The project launches
Actual Behavior
No C# project is currently loaded. Please create a C# project in order to debug.
Logs
C# log
C# LSP Trace Logs
Environment information
VSCode version: 1.82.2 C# Extension: 2.4.4 Using OmniSharp: false
Dotnet Information
.NET SDK: Version: 7.0.308 Commit: f6a2f50f2d Runtime Environment: OS Name: Mac OS X OS Version: 14.0 OS Platform: Darwin RID: osx-arm64 Base Path: /usr/local/share/dotnet/sdk/7.0.308/ Host: Version: 7.0.11 Architecture: arm64 Commit: ecb34f85ec .NET SDKs installed: 6.0.404 [/usr/local/share/dotnet/sdk] 6.0.408 [/usr/local/share/dotnet/sdk] 6.0.410 [/usr/local/share/dotnet/sdk] 6.0.412 [/usr/local/share/dotnet/sdk] 6.0.413 [/usr/local/share/dotnet/sdk] 6.0.414 [/usr/local/share/dotnet/sdk] 7.0.101 [/usr/local/share/dotnet/sdk] 7.0.203 [/usr/local/share/dotnet/sdk] 7.0.302 [/usr/local/share/dotnet/sdk] 7.0.304 [/usr/local/share/dotnet/sdk] 7.0.306 [/usr/local/share/dotnet/sdk] 7.0.307 [/usr/local/share/dotnet/sdk] 7.0.308 [/usr/local/share/dotnet/sdk] .NET runtimes installed: Microsoft.AspNetCore.App 6.0.12 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.16 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.18 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.20 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.21 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.22 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 7.0.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 7.0.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 7.0.7 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 7.0.9 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 7.0.10 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 7.0.11 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 6.0.12 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.16 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.18 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.20 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.21 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.22 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 7.0.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 7.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 7.0.7 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 7.0.9 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 7.0.10 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 7.0.11 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Other architectures found: None Environment variables: Not set global.json file: Not found Learn more: https://aka.ms/dotnet/info Download .NET: https://aka.ms/dotnet/downloadVisual Studio Code Extensions
|Extension|Author|Version|Folder Name| |---|---|---|---| |azure-account|ms-vscode|0.11.5|ms-vscode.azure-account-0.11.5| |azure-repos|ms-vscode|0.36.0|ms-vscode.azure-repos-0.36.0| |bun-vscode|oven|0.0.11|oven.bun-vscode-0.0.11| |cmake|twxs|0.0.17|twxs.cmake-0.0.17| |cmake-tools|ms-vscode|1.15.31|ms-vscode.cmake-tools-1.15.31| |color-highlight|naumovs|2.5.0|naumovs.color-highlight-2.5.0| |copilot|GitHub|1.121.453|github.copilot-1.121.453| |copilot-chat|GitHub|0.7.2023090101|github.copilot-chat-0.7.2023090101| |copilot-labs|GitHub|0.15.1019|github.copilot-labs-0.15.1019| |cpptools|ms-vscode|1.17.5|ms-vscode.cpptools-1.17.5-darwin-arm64| |cpptools-extension-pack|ms-vscode|1.3.0|ms-vscode.cpptools-extension-pack-1.3.0| |cpptools-themes|ms-vscode|2.0.0|ms-vscode.cpptools-themes-2.0.0| |csdevkit|ms-dotnettools|0.4.10|ms-dotnettools.csdevkit-0.4.10-darwin-arm64| |csharp|ms-dotnettools|2.4.4|ms-dotnettools.csharp-2.4.4-darwin-arm64| |CSS-sorter|zascal|0.2.1|zascal.css-sorter-0.2.1| |es6-string-html|Tobermory|2.12.1|tobermory.es6-string-html-2.12.1| |file-icons|file-icons|1.1.0|file-icons.file-icons-1.1.0| |fish-ide|lunaryorn|0.4.0|lunaryorn.fish-ide-0.4.0| |fish-vscode|skyapps|0.2.1|skyapps.fish-vscode-0.2.1| |fluent-icons|miguelsolorio|0.0.18|miguelsolorio.fluent-icons-0.0.18| |furry-language|Avoonix|0.1.1|avoonix.furry-language-0.1.1| |gitlens|eamodio|14.3.0|eamodio.gitlens-14.3.0| |hcl|hashicorp|0.3.2|hashicorp.hcl-0.3.2| |hexeditor|ms-vscode|1.9.12|ms-vscode.hexeditor-1.9.12| |html-preview-vscode|tht13|0.2.5|tht13.html-preview-vscode-0.2.5| |isort|ms-python|2023.10.1|ms-python.isort-2023.10.1| |javascript-ejs-support|DigitalBrainstem|1.3.3|digitalbrainstem.javascript-ejs-support-1.3.3| |json|Meezilla|0.1.2|meezilla.json-0.1.2| |jupyter|ms-toolsai|2023.8.1002501831|ms-toolsai.jupyter-2023.8.1002501831-darwin-arm64| |jupyter-keymap|ms-toolsai|1.1.2|ms-toolsai.jupyter-keymap-1.1.2| |jupyter-renderers|ms-toolsai|1.0.17|ms-toolsai.jupyter-renderers-1.0.17| |LiveServer|ritwickdey|5.7.9|ritwickdey.liveserver-5.7.9| |markdown-all-in-one|yzhang|3.5.1|yzhang.markdown-all-in-one-3.5.1| |material-icon-theme|PKief|4.30.1|pkief.material-icon-theme-4.30.1| |material-theme|zhuangtongfa|3.16.0|zhuangtongfa.material-theme-3.16.0| |micropython-ide-vscode|dphans|0.0.1|dphans.micropython-ide-vscode-0.0.1| |powershell|ms-vscode|2023.6.0|ms-vscode.powershell-2023.6.0| |prettier-vscode|esbenp|10.1.0|esbenp.prettier-vscode-10.1.0| |prisma|Prisma|5.3.1|prisma.prisma-5.3.1| |python|ms-python|2023.16.0|ms-python.python-2023.16.0| |rainbow-csv|mechatroner|3.7.1|mechatroner.rainbow-csv-3.7.1| |remote-explorer|ms-vscode|0.4.1|ms-vscode.remote-explorer-0.4.1| |remote-repositories|ms-vscode|0.38.1|ms-vscode.remote-repositories-0.38.1| |remote-ssh|ms-vscode-remote|0.106.4|ms-vscode-remote.remote-ssh-0.106.4| |remote-ssh-edit|ms-vscode-remote|0.86.0|ms-vscode-remote.remote-ssh-edit-0.86.0| |remote-wsl|ms-vscode-remote|0.81.7|ms-vscode-remote.remote-wsl-0.81.7| |remotehub|GitHub|0.60.0|github.remotehub-0.60.0| |roblox-api-explorer|evaera|1.2.0|evaera.roblox-api-explorer-1.2.0| |roblox-lua-autofills|Kampfkarren|1.7.1|kampfkarren.roblox-lua-autofills-1.7.1| |robloxlsp|Nightrains|1.6.7|nightrains.robloxlsp-1.6.7| |sass-indented|syler|1.8.28|syler.sass-indented-1.8.28| |shell-format|foxundermoon|7.2.5|foxundermoon.shell-format-7.2.5| |tcl|rashwell|0.1.0|rashwell.tcl-0.1.0| |ts-error-translator|mattpocock|0.10.1|mattpocock.ts-error-translator-0.10.1| |vscode-arduino|vsciot-vscode|0.6.0|vsciot-vscode.vscode-arduino-0.6.0-darwin-arm64| |vscode-clang|mitaki28|0.2.4|mitaki28.vscode-clang-0.2.4| |vscode-css-peek|pranaygp|4.4.1|pranaygp.vscode-css-peek-4.4.1| |vscode-docker|ms-azuretools|1.26.1|ms-azuretools.vscode-docker-1.26.1| |vscode-dotnet-runtime|ms-dotnettools|1.8.0|ms-dotnettools.vscode-dotnet-runtime-1.8.0| |vscode-eslint|dbaeumer|2.4.2|dbaeumer.vscode-eslint-2.4.2| |vscode-html-css|ecmel|1.13.1|ecmel.vscode-html-css-1.13.1| |vscode-icons|vscode-icons-team|12.5.0|vscode-icons-team.vscode-icons-12.5.0| |vscode-jupyter-cell-tags|ms-toolsai|0.1.8|ms-toolsai.vscode-jupyter-cell-tags-0.1.8| |vscode-jupyter-slideshow|ms-toolsai|0.1.5|ms-toolsai.vscode-jupyter-slideshow-0.1.5| |vscode-pylance|ms-python|2023.9.30|ms-python.vscode-pylance-2023.9.30| |vscode-roblox-ts|roblox-ts|1.6.1|roblox-ts.vscode-roblox-ts-1.6.1| |vscode-rojo|evaera|2.1.2|evaera.vscode-rojo-2.1.2| |vscode-serial-monitor|ms-vscode|0.10.0|ms-vscode.vscode-serial-monitor-0.10.0| |vscode-theme-onelight|akamud|2.3.0|akamud.vscode-theme-onelight-2.3.0| |vscode-xml|redhat|0.26.1|redhat.vscode-xml-0.26.1-darwin-arm64| |vscodeintellicode-csharp|ms-dotnettools|0.1.26|ms-dotnettools.vscodeintellicode-csharp-0.1.26-darwin-arm64| |zenstack|zenstack|1.0.32|zenstack.zenstack-1.0.32|;