Not Recognizing VSCode as Microsoft Signed PopOS 19.04
See original GitHub issueIssue Description
After installing a fresh install of PopOS 19.04 (based on Ubuntu 19.04) and installing VSCode + Ominsharp I am getting an error that the debugger can not run in this version of VSCode. Then the debugging process stops. This is the case whether running via “Debug Test” or using the launch.json settings for C# projects.
Originally I installed VSCode from the PopShop then updated via the official MS download page for VSCode. The license in both the .deb and in the “About VSCode” seem to be the proper Microsoft signed licence.
I have also tried uninstalling VSCode, using apt-get purge on VSCode and I have removed the following directories:
~/.vscode
~/.config/Code
~/.omnisharp
Then I installed again from the fresh .deb file on the official Microsoft VS Code page.
If there is some other signing or config that is still showing this as a different distribution of VSCode I’m not able to figure out why/where that may be.
Steps to Reproduce
- Install Ubuntu 19.04
- Install VSCode
- Install dotnet sdk and mono-complete
- Install C# extension
- Try to debug test or app
Expected Behavior
Debugger should work as usual and start debugging.
Actual Behavior
Debugger prints
-------------------------------------------------------------------
You may only use the Microsoft .NET Core Debugger (vsdbg) with
Visual Studio Code, Visual Studio or Visual Studio for Mac software
to help you develop and test your applications.
-------------------------------------------------------------------
Logs
OmniSharp log
C# log
Environment information
VSCode version: 1.33.1 C# Extension: 1.18.0
Mono Information
OmniSharp using global mono :5.20.1Dotnet Information
.NET Core SDK (reflecting any global.json): Version: 2.2.203 Commit: e5bab63ecaRuntime Environment: OS Name: ubuntu OS Version: 19.04 OS Platform: Linux RID: linux-x64 Base Path: /home/ryan/dotnet/sdk/2.2.203/
Host (useful for support): Version: 2.2.4 Commit: f95848e524
.NET Core SDKs installed: 2.2.203 [/home/ryan/dotnet/sdk]
.NET Core runtimes installed: Microsoft.AspNetCore.All 2.2.4 [/home/ryan/dotnet/shared/Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.2.4 [/home/ryan/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.2.4 [/home/ryan/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download
Visual Studio Code Extensions
Extension | Author | Version |
---|---|---|
atom-keybindings | ms-vscode | 3.0.6 |
babelrc | waderyan | 1.0.0 |
bracket-pair-colorizer | CoenraadS | 1.0.61 |
change-case | wmaurer | 1.0.0 |
code-beautifier | michelemelluso | 2.2.1 |
code-settings-sync | Shan | 3.2.9 |
code-spell-checker | streetsidesoftware | 1.7.5 |
color-highlight | naumovs | 2.3.0 |
csharp | ms-vscode | 1.18.0 |
csharpextensions | jchannon | 1.3.0 |
EditorConfig | EditorConfig | 0.13.0 |
ember-syntax | dhedgecock | 0.5.0 |
githistory | donjayamanne | 0.4.6 |
gitignore | codezombiech | 0.6.0 |
Handlebars | andrejunges | 0.4.1 |
markdown-all-in-one | yzhang | 2.2.0 |
markdown-table-formatter | josa | 0.2.3 |
Material-theme | zhuangtongfa | 2.21.0 |
one-monokai | azemoh | 0.3.7 |
prettier-vscode | esbenp | 1.8.1 |
rainbow-csv | mechatroner | 1.0.0 |
rainglow | daylerees | 1.5.2 |
ruby | rebornix | 0.22.3 |
sass-lint | glen-84 | 1.0.5 |
seti-icons | qinjia | 0.1.3 |
theme-cobalt2 | wesbos | 2.1.6 |
Theme-MarkdownKit | ms-vscode | 0.1.4 |
url-encode | flesler | 1.1.0 |
vscode-circleci | jvandyke | 0.5.0 |
vscode-ember-unstable | lifeart | 0.2.25 |
vscode-eslint | dbaeumer | 1.8.2 |
vscode-fileutils | sleistner | 2.13.7 |
vscode-github | KnisterPeter | 0.30.2 |
vscode-new-file | dkundel | 4.0.2 |
vscode-sql-beautify | sensourceinc | 0.0.4 |
vscode-table-formatter | shuworks | 1.2.1 |
vscode-text-pastry | jkjustjoshing | 1.2.0 |
vscode-toggle-quotes | BriteSnow | 0.3.2 |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:7 (3 by maintainers)
Top GitHub Comments
@matfantinel please install the latest beta. You are running into #3010.
@lonix1 sorry this issue should have been closed earlier. I left it open in case the original opener wanted to comment more. The known issue with Ubuntu 19.04 was fixed in C# extension 1.19.1, so whatever issue you were running into is different. The problem you are running into is that the debugger is abruptly exiting? If so, I am happy to try and help troubleshoot. Please open a new issue, and include a debugger log (instructions).