C
C#AngieFoxx

✅ .NET sdk not working

So, I've installed the .NET sdk and did what I was told, but it's still not being detected by vscode, commands like 'dotnet --version' don't work I've had this issue many times before trying to setup C#, and I've never solved it, it's kept me from learning the programming language for longer than I expected and I really would like help fixing it
R
reflectronic17d ago
if you open a new cmd window (like, outside of VS Code), does it work
A
AngieFoxx17d ago
I did that and no it did not work So I ran the installer again and chose repair Relaunched vscode a second ago and re-entefed the command It worked
A
AngieFoxx17d ago
2 years and I can finally start programminnn
R
reflectronic17d ago
well i don't know what happened but i am glad it's working
A
AngieFoxx17d ago
I may still need a bit more help setting up tho
UU
Unknown User17d ago
A
AngieFoxx17d ago
:CH_PepeDead:
UU
Unknown User17d ago
A
AngieFoxx17d ago
For uh, for the C# Dev Kit 'solution folder' setup Am I supposed to create a new folder? And use it for that Or wha
UU
Unknown User17d ago
A
AngieFoxx17d ago
Okay
UU
Unknown User17d ago
A
AngieFoxx17d ago
I'm confused now :CH_Stressed: So I created the solutions folder
UU
Unknown User17d ago
A
AngieFoxx17d ago
It's in the ;vscode folder, alongside cli and extensions
UU
Unknown User17d ago
A
AngieFoxx17d ago
.vscode*
UU
Unknown User17d ago
A
AngieFoxx17d ago
Sure, lemme do that
A
AngieFoxx17d ago
No description
UU
Unknown User17d ago
A
AngieFoxx17d ago
Mhm Im smol brained
UU
Unknown User17d ago
A
AngieFoxx17d ago
I don't have that shown, I have folders open
UU
Unknown User17d ago
A
AngieFoxx17d ago
No description
UU
Unknown User17d ago
A
AngieFoxx17d ago
Im still confused 😭 Have I done anything wrong?
UU
Unknown User17d ago
A
AngieFoxx17d ago
Oh
UU
Unknown User17d ago
A
AngieFoxx17d ago
I thought I did
UU
Unknown User17d ago
A
AngieFoxx17d ago
:peepoNoted:
UU
Unknown User17d ago
A
AngieFoxx17d ago
Yeah it's not very clear
UU
Unknown User17d ago
R
reflectronic17d ago
you don't have to do anything with the terminal
UU
Unknown User17d ago
R
reflectronic17d ago
yes, you just click on "Create your .NET project" once you have done "Open your folder"
A
AngieFoxx17d ago
I don't have to do anything first with the solutions folder?
UU
Unknown User17d ago
R
reflectronic17d ago
"Create your .NET project" is the thing that does the thing with the solutions folder
A
AngieFoxx17d ago
Oh okay Thanks for clearing that up What option do I choose? 😭
UU
Unknown User17d ago
A
AngieFoxx17d ago
Okay I was going to do that one, seemed the most obvious
UU
Unknown User17d ago
A
AngieFoxx17d ago
Okay so this computer is just stupid slow I thought nothing was working Just had to wait without clicking It worked
A
AngieFoxx17d ago
does this look right?
A
AngieFoxx17d ago
No description
A
AngieFoxx17d ago
@reflectronic i require assistanc pls
R
reflectronic17d ago
yeah you can start writing your code in Program.cs
A
AngieFoxx17d ago
:peepoNoted: So that's it then? I should be done?
R
reflectronic17d ago
i mean, there's no more "setup," right you can start coding and running and debugging etc.
A
AngieFoxx17d ago
That's what I meant, ye
A
AngieFoxx17d ago
Thanks for the help I would've given up @reflectronic if ur still online Id like some help again :maxpain:
R
reflectronic17d ago
yes, of course
A
AngieFoxx17d ago
I've done something wrong and i don't know what I can't run and debug Apparently there's no project
R
reflectronic17d ago
what exactly are you trying to do, and what is the error you get
A
AngieFoxx17d ago
Im just trying to run a hello world command 😭 I think I did something wrong when creating the folders at the beginning ill send a screenshot in a moment
A
AngieFoxx17d ago
No description
A
AngieFoxx17d ago
:catfine:
A
AngieFoxx17d ago
No description
R
reflectronic17d ago
what happens when you click More Information
A
AngieFoxx17d ago
it takesme to a webpage
R
reflectronic17d ago
if you switch to Output, what does it say
A
AngieFoxx17d ago
Nothing
R
reflectronic17d ago
can you send a picture
A
AngieFoxx17d ago
No description
A
AngieFoxx17d ago
For some reason it doesn't recognise that I have a .cs file open
R
reflectronic17d ago
switch it from "Tasks" to "C# Dev Kit"
A
AngieFoxx17d ago
Im relaunching vscode Didnt fix anything I'll send a ss, one sec
A
AngieFoxx17d ago
No description
R
reflectronic17d ago
if you go to the terminal, and type dotnet restore, what happens
A
AngieFoxx17d ago
It says all projects are up to date for restore Okay wow It's working now I think? Maybe Idk Something definitely happened It worked :CH_HyperYay: I think? Im not entirely sure Well it does say Hello world So I guess it works then Thanks for the help again :catlove:
R
reflectronic17d ago
i guess it was just taking a minute to load
A
AngieFoxx17d ago
Yeah Real slow computer.. :maxpain: Uh it's midnight, I gotta get some sleep Hopefully tommorow I'll be able to actually start with some programming And not run into errors beforehand
WFH
Waffles from Human Resources17d ago
the fog
Want results from more Discord servers?
Add your server
More Posts
MEF No exports were found that match the constraintHi, i'm trying to implement MEF in my WPF app, however i'm getting this error, not sure why anymore.✅ WPF - set UIElement (image) in XAML depending on databound Property Enum valueI am trying to dynamically change a StatusBar image via a view's XAML depending upon a databound VieASP.NET Controller API + Blazor Client UI resources and helpHello! I'm doing a side project where I created the backend API with simple CRUD functionality and A✅ Run PuppeteerSharp in Docker ContainerI have an endpoint that creates PDFs using PuppeteerSharp. I work fine locally because it can automaDocker + Blazor + MSSQL handshake errorWhen I run dotnet ef database update I get the following error : ``Microsoft.Data.SqlClient.SqlExceProblem with corner radius XAML propertyI use a border with these properties: ```<Border CornerRadius="3" Background="{StaticResource Edito✅ :white_check_mark: Dictionary<int, ...> lookup time seems a bit too slowI was profiling a program, and I saw this: ```cs 100 % HasObject • 136 ms • 189 217 Calls • Engine.Rhow to read .txt file next to the Program.csi have the following code that is begin run ```cs string fileContent = File.ReadAllText("hamlet.txt✅ Linker Error Trying to Build OpenSSL Static LinkingHello, I've been trying to compile and build OpenSSL to try and encrypt a text file using AES 256 buHow things get to the placeI have found this one thing by Microsoft that confused me so much ```cs public async Task<IActionResVisual code studio and msbuildim currently having problems while scripting apparently when i press (Run Build Task) im getting thiMediatR - System.Text.Json.JsonException: 'S' is an invalid start of a value.I have a project with Clean Architecture and MediatR. My API gets the request fine and the command Blazor, auto unsubscribe patternI have created website using blazor, and if some component subscribe to something then it implement ✅ Form1.resx file gives error on Internet or Restricted zoneForm1.resx file gives error on Internet or Restricted zone I can't fix it error (english):Severity LHelp with API structureI want to create modular API structure https://timdeschryver.dev/blog/maybe-its-time-to-rethink-our-✅ WPF - how to correctly call a method in the ViewModel when an event occurs in the View?I want to call a method in the ViewModel when an event happens in the View. That is, when the View Blazor help needed. How can i Validate datalist entries in a child componentI have written a Blazor testapp that has an EditForm with a child component in the parent component.Inlcude content after run a command (.csproj)Hey i wanna ask if it would possible to place this after the cmake building command? ```cs <IteOpinion on the code i've writtenHello, I have a discord bot im working on, the code i am about to show reads a JSON Config file. I w✅ Receiving Input While Minimized (WinForms C#)Pretty general question here. How would I go about receiving input from my user while they aren't t