C
C#2y ago
Sip

❔ Help Installing C#

So i've tried installing the c# package by micrsoft on vsc, but everytime i hit install, i get this error
2023-05-15 20:26:18.896 [error] end of central directory record signature not found: CorruptZip: end of central directory record signature not found
at yt.download (c:\Users\SiprizerXxl\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:93:141)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
at async j.y (c:\Users\SiprizerXxl\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:93:20893)
at async j.h (c:\Users\SiprizerXxl\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:93:18962)
2023-05-15 20:26:18.896 [error] end of central directory record signature not found: CorruptZip: end of central directory record signature not found
at yt.download (c:\Users\SiprizerXxl\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:93:141)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
at async j.y (c:\Users\SiprizerXxl\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:93:20893)
at async j.h (c:\Users\SiprizerXxl\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:93:18962)
Anyone know how I can fix it?
17 Replies
HimmDawg
HimmDawg2y ago
You are probably better off using Visual Studio instead of Visual Studio Code if you want to use C# There are all sorts of things that can go wrong with vsc + c#
Sip
SipOP2y ago
ok, please may you walk me through installing visual studio should i install professional, community or enterprise
HimmDawg
HimmDawg2y ago
Community is sufficient
Sip
SipOP2y ago
okk. thanks
HimmDawg
HimmDawg2y ago
Professional and enterprice have a price tag iirc
Monsieur Wholesome
Yes
Hercules
Hercules2y ago
If you install the sdk you can run C# on your VSC. 😄
JakenVeina
JakenVeina2y ago
to hijack from another thread today...
if you are new to C#, you should use Visual Studio, if at all possible, not VS Code VS Code assumes you have a fair amount of proficiency in C# already, in order to configure VS Code to interop with all the various tools that you need to do C# development Visual Studio is already tailor-made for C# development
Accord
Accord2y ago
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.
Sip
SipOP2y ago
hey im not sure if it's too late but i finished installing visual studio only problem is that i want to run the code, but it requires me to attach a debugger of which it brings up a list of different .exe processes, which im not sure which to pick any tips/help
HimmDawg
HimmDawg2y ago
? How do you start your app. Are you clicking the green triangle?
Sip
SipOP2y ago
well if you're talking about this green triangle, then yes
Sip
SipOP2y ago
but when i click it, it brings up a popup box; asking me to attach a debugger
JakenVeina
JakenVeina2y ago
well, yeah, that's what "Attach" means you either don't have a project open, or your currently-selected project is not executable
Sip
SipOP2y ago
oh how do i fix that ?
JakenVeina
JakenVeina2y ago
either open a project or change your currently-selected project to one that is executable
Accord
Accord2y ago
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.
Want results from more Discord servers?
Add your server