Open realdanielbyrne opened 4 years ago
@realdanielbyrne I am not sure from your description if this is the build failing, or debugging failing.
If the build is failing, can you show what you are seeing?
If debugging is failing, can you add a debugger log? See instructions.
Steps to Reproduce
This problem consistently happens after the following sequence of events.
"Visual Studio" is doing something to the application that breaks debugging in "Visual Studio Code".
Expected Behavior
Debugging should work in Visual Studio Code even after opening the project in Visual Studio.
Actual Behavior
Debugging doesn't work when pressing f5.
Logs
OmniSharp log
C# log
Environment information
VSCode version: 1.50.1 C# Extension: 1.23.4
Mono Information
OmniSharp using global mono :6.12.0Dotnet Information
.NET SDK (reflecting any global.json): Version: 5.0.100-preview.4.20258.7 Commit: 65f0fc2cad Runtime Environment: OS Name: Mac OS X OS Version: 10.15 OS Platform: Darwin RID: osx.10.15-x64 Base Path: /usr/local/share/dotnet/sdk/5.0.100-preview.4.20258.7/ Host (useful for support): Version: 5.0.0-preview.4.20251.6 Commit: 47ec733ba7 .NET SDKs installed: 3.0.100 [/usr/local/share/dotnet/sdk] 3.1.300 [/usr/local/share/dotnet/sdk] 3.1.401 [/usr/local/share/dotnet/sdk] 3.1.402 [/usr/local/share/dotnet/sdk] 5.0.100-preview.4.20258.7 [/usr/local/share/dotnet/sdk] .NET runtimes installed: Microsoft.AspNetCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.7 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 5.0.0-preview.4.20257.10 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.1.13 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.18 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.22 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.7 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.8 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.0-preview.4.20251.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] To install additional .NET runtimes or SDKs: https://aka.ms/dotnet-downloadVisual Studio Code Extensions
|Extension|Author|Version| |---|---|---| |anaconda-extension-pack|ms-python|1.0.1| |azure-account|ms-vscode|0.9.3| |azurecli|ms-vscode|0.5.0| |code-runner|formulahendry|0.11.1| |csharp|ms-dotnettools|1.23.4| |Csharp-ASPNETCore|rahulsahay|1.11.0| |cshtml|fireside21|0.1.3| |debugger-for-chrome|msjsdiag|4.12.11| |EditorConfig|EditorConfig|0.15.1| |format-selection-as-html|adrianwilczynski|2.3.0| |gitlens|eamodio|10.2.2| |latex-workshop|James-Yu|8.13.2| |markdown-all-in-one|yzhang|3.3.0| |mssql|ms-mssql|1.9.0| |prettify-json|mohsen1|0.0.3| |python|ms-python|2020.9.114305| |python|tht13|0.2.3| |python-extended-snippets|tushortz|0.0.1| |python-extension-pack|donjayamanne|1.6.0| |r|Ikuyadeu|1.5.1| |vetur|octref|0.28.0| |vscode-azureappservice|ms-azuretools|0.19.0| |vscode-azurefunctions|ms-azuretools|1.0.0| |vscode-html-format|mohd-akram|0.0.4| |vscode-ipython|pancho111203|0.5.0| |vscode-npm-script|eg2|0.3.13| |vscode-pylance|ms-python|2020.10.2| |vscode-yaml|redhat|0.11.1| |vscodeintellicode|VisualStudioExptTeam|1.2.10| |vue-snippets-js-html-pug-razor|heberalmeida|0.0.3| |WebTemplateStudio-dev-nightly|WASTeamAccount|0.4.2020202| |xml|DotJoshJohnson|2.5.1|;