❔ ✅ Need help setting up Visual Studio
Hello, this is my first post 🙂 I'm trying to get started with C# by following Brackey's videos, but his VS Code looks different than mine, and I'd like to be able to follow along with him.
I've implemented the '--use-program-main' to get it to look like his video, but now it's not properly debugging.
I've read I should disable the use of top-level statements, but I don't know where to find that option.
Here's the error screen I get after trying to run it.
For reference, I installed VS Code and .NET 7.0
83 Replies
I've read I should disable the use of top-level statementsthis isn't true
Oh, ok. So what should I try? 😮
I just followed the link on Brackey's video and downloaded the first thing there
Brackeys
YouTube
HOW TO PROGRAM - Getting Started!
Coding can seem scary at first - but it's actually not that hard! Let's learn how to program in C#.
► SIGN UP FOR JASON'S COURSES: https://game.courses/gamearch/
● Download VSCode: https://code.visualstudio.com/
● Download .NET: https://dotnet.microsoft.com/
👕Get the new Brackeys Hoodie: https://lineofcode.io/
·······························...
it says right here that you need to change the console property
Is VS Community better? I noticed the video is 3 years old
Pretty sure he just followed a 3y old tut, and doesn't know there is a difference between VS, VSC, VSDX, VSXXX or whatever versions there are
OMG it works
Thank you, now why does his F5 key not debug, it just changes his youtube video's volume....
Ero you beauty
I'll check out VS Community
vscode is fine for c#
YT is full of bad tuts I guess?
Well, I'm hoping the videos can get me through enough to get started c:
i guess the beginners thing i can see
vsc only works as well for me as it does because i know the quirks
Does Community have a difference aconym becuase VSC (code) and (community) would have the same no?
vs and vsc
no one specifies "community"
So about, that F5 key...? xD
what about it
Having him not use shortcuts makes me cringe. His F5 key doesn't debug, it just pulls up his audio volume for his youtube video?
that doesn't even make sense
You're telling me, the kid is a genius
for one, a keypress can't interact with the browser when it isn't focussed
probably related to to function button actions(assuming laptop)
I'm just a messenger because he's keyboard challenged
and f5 refreshes a browser page
so neither is even possible
oh yeah this
toggle fn lock
it's toggleable
ya
wow i wouldn't have thought of that
don't use laptops enough
I thought it was a toggle but forgot that was a key, lemme see if he has this key
I try to stay away too
Laptops haram or something?
just shit in general
small keys, keypresses don't feel good
weird layout
Awww
Mechanical keyboards any good?
some yes
love em
prices of good ones have gone down though, which is nice
Okay so his FN key only works when he holds it and presses F5?
any way to change that to an actual toggle ?
which laptop
there should be some key that says "FnLock" on it
or like an icon
with a lock with "Fn" inside
usually Escape
Yeah but it's functioning like ctrl I mean
oh wait
yup, escape
literally has the lock icon i talked about
Ah I see, shit's so blurry
So does he press esc or?
he holds Fn and then presses esc
Bless Binary!
It works
if you have a look at the error
there is no console
OMG, my f5 key works
to read an inpout from
thanks bud
You would prob have to compile it
I'm no good with these things, but it doesn't actually tell me where to go to fix the issue but we got it solved 😄
Or somehow interpret it since your using vsc
Thats great!
Hello world displays and F5 works, this is a massive W.
I am happy with this.
Hello world your one of the only people who ive seen try and learn and then not gvive up instantly
This can only be a sign of things to come. It's his first lesson.
LOLL
most people just die 😭
He's a trooper. I got passed Hello World but I died
Ya'll always get me with the "What project do you wanna learn code for?"
so
What project do you wanna learn code
after effects so average
I'll legit write Bloomy.sln on my note as I commit.
Don't tempt me
I use AE but uh not following this...?
how much ram does AE use for you?
( I totally dont use cracked AE )
#offtopic...?
A shit ton sometimes
Does cracked use more ram than normal?
idk
i just got it off the pirate bay
fr lol
It varies tbh... rn 5.4 GB, other day 27 GB
a 2 minute video
wtf
Not sure why such a huge difference but my pc has 64 gb, it was telling me I was out of ram when it said 32 GB so idk technology
Try processing it using the onboard hardware in your cranium, lmk how much ram that uses lmaoo
2 min video will blow your mind xD
yup I understood that
Definitely
!close
Ask the thread owner or member with permission to close this!
$close was the one
Use the
/close
command to mark a forum thread as answeredMission 1: Complete
man the fix to the original issue was a one-line configuration change and your solution was to install an entirely different IDE
and one of the suggestions was Rider which has no free tier afaik
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.