C
C#

In VSCode, SDK not Recognized on ChromeOS

In VSCode, SDK not Recognized on ChromeOS

AAdiZ11/20/2023
Hi. I just installed the .NET SDK and the Runtime by following the instructions for Ubuntu on the Microsoft Docs website. This is what I get when I run dotnet --info in the Linux terminal:
NET SDK:
Version: 8.0.100
Commit: 57efcf1350
Workload version: 8.0.100-manifests.6c33ef20

Runtime Environment:
OS Name: debian
OS Version: 11
OS Platform: Linux
RID: linux-x64
Base Path: /home/ztech58/.dotnet/sdk/8.0.100/

.NET workloads installed:
Workload version: 8.0.100-manifests.6c33ef20
There are no installed workloads to display.

Host:
Version: 8.0.0
Architecture: x64
Commit: 5535e31a71

.NET SDKs installed:
8.0.100 [/home/ztech58/.dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.0 [/home/ztech58/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.0 [/home/ztech58/.dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
DOTNET_ROOT [/home/ztech58/.dotnet]

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download
NET SDK:
Version: 8.0.100
Commit: 57efcf1350
Workload version: 8.0.100-manifests.6c33ef20

Runtime Environment:
OS Name: debian
OS Version: 11
OS Platform: Linux
RID: linux-x64
Base Path: /home/ztech58/.dotnet/sdk/8.0.100/

.NET workloads installed:
Workload version: 8.0.100-manifests.6c33ef20
There are no installed workloads to display.

Host:
Version: 8.0.0
Architecture: x64
Commit: 5535e31a71

.NET SDKs installed:
8.0.100 [/home/ztech58/.dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.0 [/home/ztech58/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.0 [/home/ztech58/.dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
DOTNET_ROOT [/home/ztech58/.dotnet]

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download
And this is the error I get when I launch VSCode (or try to create a new C# project):
The .NET Core SDK cannot be located: Error running dotnet --info: Error: Command failed: dotnet --info
/bin/sh: 1: dotnet: not found


/bin/sh: 1: dotnet: not found
. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.
The .NET Core SDK cannot be located: Error running dotnet --info: Error: Command failed: dotnet --info
/bin/sh: 1: dotnet: not found


/bin/sh: 1: dotnet: not found
. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.
Does anyone know how to fix this? Please ping me if you reply - my notifications are funky šŸ™‚
Xx0rld11/20/2023
@AdiZ you've installed in ubuntu dotnet chrome OS isn't ubuntu maybe you can specify to vscode the path to the dotnet inside your ubuntu environnement
AAdiZ11/20/2023
Sorry it's debian, I confused them. Still the same installation process
SSinFluxx11/20/2023
Did you install the sdk while vscode was open and haven't closed/reopened it yet?
AAdiZ11/20/2023
I restarted it a bunch of times

Looking for more? Join the community!

C
C#

In VSCode, SDK not Recognized on ChromeOS

Join Server
Want results from more Discord servers?
Add your server
Recommended Posts
Nito.AsyncEx vs DotNext.ThreadingWe're currently searching for a nice AsyncAutoResetEvent implementation. We found two suitable impleSequential BlinkersHello everyone! I bought these sequential blinkers that run off an stm32 blue pill board. the only pTrying to use Microsoft.Kiota namespace but not found when importingI am trying to use this method from the Microsoft.Kiota.Abstractions.Extensions namespace: ToFirstChWinUI3 Scheduler CalendarViewhello im trying to make a winui3 calendarview interactive calendar where I can predefine dates in myThe call is ambiguous between the following methods or properties: 'Thread.Thread(ThreadStart)' andi have to upload by filesHelp a noobie out with a simple hangmanHi! New to coding and I need some help to solve this problem. Shall I save the words to a list? AnyC# Image Resizing on Visual Studio CodeI've tried both ``newPic.SizeMode = PictureBoxSizeMode.StretchImage;`` and ``newPic.SizeMode = PictuI'm stuck,visual studio 22, I need help making my invaders/enemies move left to right then downI’m trying to get my invaders/enemies to move left to right then down like in the game space invaderāœ… Where should I store all the sensitive file on .NET project?Hello everyone, May I know where should I store all the credential files that needs to be used by .Unity CodeI have been trying to get my C# code to work in unity for about a week and I am officially lost. I'vHelp! Reporting service in dotnet Core?please don't mind my english, it is not that good. i have created 2 projects one is server -dotnetCatAPI Json deserialization issue.I'm having trouble getting my code to deserialize my json correctly. When I run my Program.cs I get āœ… Any idea why I cant use sendkey?Authorization in microservices archHello everyone, I'm quite new to the NET microservices arhitecture and right now I'm implementing a.