❔ how can you install c# on pc and edit it on vs code
can someone help me to install c# on my pc
13 Replies
i got windows 11
do i install this?
uh did you click the blue install button
nope
then you should try that
k lol
Also do you have the .NET SDK?
You need that to do pretty much anything with C#
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
1) Install the C# extension
2)
2.a) DO NOT USE OPEN FILE
2.b) Always use
Open Folder
(from the File
menu), and open the folder containing your sln file (or the folder containing the csproj
if you have only one csproj
)
3) To make the extension start and detect C#, either:
3.a) wait for the prompt that will appear on the bottom right of your screen that ask you if you want it to create some files, and say Yes
3.b) Command Palette (F1
or Ctrl+Shift+P
) and type > .Net : Generate Assets for build and run
4) you should see a flame on the Status
bar with the Omnisharp logo (see second attached screenshot)
5) it should load to finally say OmniSharp server is running (if not ask for help)
https://media.discordapp.net/attachments/569261465463160900/1006652191689429022/unknown.png
https://cdn.discordapp.com/attachments/569261465463160900/951015732769079336/unknown.pngUnknown User•2y ago
Message Not Public
Sign In & Join Server To View
Visual Studio proper will be a more comfortable experience
Honestly I prefer vscode over vs, I just find my production increases and I'm not held back by all of the features in vs. The debugger in vscode is also fine, although I rarely use it.
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.