After spending 3 hours on searching how to run a C# program using the new version of visual studio, this man solve the problem in very few minutes. Thank you so much!
I have searched a lot about how to configure c# and .NET in my system, but nothing found. This one video helped me to configure everything and It is completely working fine, Thankzz bro
You have finally ended two weeks of my personal hell! I haven't been able to test c# scripts or programs without error until you gave me the anwer. Thank you
bro thank god I found this tutorial cuz its been 3 hours and Idk why it cant run or code anything and after watching this video to realize that the problem was that I installed vs instead of vs code, after I found out the problem, I immediately uninstalled/removed vs and downloaded vs code instead. TYSM
Great video, was facing issues when running the c# code in Visual Studio Community 2022, came across your video followed each step and now my code runs smoothly on Visual Studio Code 2022. Appreciate how you explained each step thoroughly and really liked how you considered these segments in the video, usually people just tell you about the installation process and don't follow through with the next required tasks/steps to have your code running.
After spending hours and watching more than 5 tutorials about how to fix the scriptcs error, I finally got it fixed applying your tutorial. Thx a lot!!!
Damn... This is my first time actually coding.... I know I have a really long way to go but still, the fact that I followed and understood your video made me like I can actually do this.... All I can do is offer you a sub, I'd do more if I could
@@isrealolalere5219 Make sure to install the SDK, not the Runtime, to install it with elevated privileges (right click -> open as administrator) and check if the installation folder is in your PATH environment variables. If not, add it your PATH. One easy way to check that is to run cmd and type these commands in order: 1) PowerShell 2) whereis dotnet It should return your installation folder.
The video is awesome and correct helps lot for configuring vscode ,for c#.i searched a lot nothing helped me like this video. Everything worked great after doing these changes.
Thank you SO much Sir, you've honestly helped me a ton! Much appreciated from Andhra Pradesh. I've looked everywhere for tutorials to setup C# but none of them worked for me, not even brackey's tutorial! Luckily this one did it for me. Once again thank you so much.
@@TechDecode sir by using your step I downloaded and it works fine Thanks a lot sir for this video I struggled from last 3 weeks to run c# code in my system But sir only code is running ,if I put directives or class then it shows error Pls sir answer me .....
Thanks a lot, I was searching on topic how to run C# code, but always they don't give full information, but you gave us full guide to install C# environment without any errors. Thank you again
For those who didn't get code run to work and get the error "The token '&&' is not a valid statement separator in this version." You can use the semicolon to separate commands. I.E. ""cd $dir; dotnet run $fileName""
@@mcmarenjacoba9477 This would only work if you're using powershell with vs code, if you're using linux (I assume because of the bash error)I would say the original '&&' would work for that, could you copy and paste the command you used for "csharp"?
@@mcmarenjacoba9477 for this on I believe you're missing a comma after the command as its expected to be there. So it should look like. ("csharp" :"cd $dir; dotnet run $fileName ",) needs to have that comma there so the next key value pair can be read in the json document. If you keep getting errors post them. Also show us what you actually typed in your json file so we can check for errors.
I like how you explain it like we are little kids, which I assume whoever needs this vid is inexperienced with c#(including me, i ain't bashing nobody), thanks!
👉 Complete C# Masterclass - rebrand.ly/CsharpProgrammingCourse 👉 Free Complete C# Programming Course - pluralsight.pxf.io/CSharp_Free_Course Dotnet Core SDK Download Link - bit.ly/dotnetcoresdk_techdecode Visual Studio Code Download Link - bit.ly/vscode_techdecode Command : "cd $dir && dotnet run $fileName" [UPDATE] For those who get the error "The token '&&' is not a valid statement separator in this version." You can use the semicolon to separate commands. Command : "cd $dir; dotnet run $fileName" Subscribe - bit.ly/2OH9Jv5 If you found this video useful please give it a thumbs up and subscribe to my channel! and If you have any questions regarding this video, please ask them in the comment section. thanks for watching! :)
This video is helpful excellen job sir muze koi channel mil hi nahi raha tha jo run directly on hit button batayain ooor aapka channel mil gaya main subscribe bhi ptakse kar dala
Thank you so much for such an excellent video. I had recently downloaded VS code and couldn't get it to run. I followed the steps in your video and it works! I will be bookmarking this video.
Thankyou so much Sir for your well explained step by step guidance ....helped this dumb person to run the code in one go ....Thanks a Lot ...though there are too many steps but you made it so simple,easy and quick to do 😇🙏
Thank you for providing the way to run the c# code through the run button. I was looking for such a way to run the code in the usual away available on other IDE program apart from using the "dotnet run" command from terminal.
Really thanks full for uploading in this video because i am spending too much time for this purpose,and searching many of them videos once again thanking you
Good video, thanks. Being that this is all Microsoft--the IDE--VSCODE, the language--C#, should be easier? This is much less counterintuitive than i thought; it is much easier creating new folders/projects with C and VSCODE, after seeing this I figure it's because of the dot net framework overhead. this video makes the odd terminal commands and other things needed for hello world on VSCODE/C# a lot easier. I also didn't know you could write cmd into explorer address and have it pop up the cmd window. Cool!
After spending 3 hours on searching how to run a C# program using the new version of visual studio, this man solve the problem in very few minutes. Thank you so much!
Yea, I struggled to compile C# too and I coudn't. Why is it that hard?
6:05 after writing code and giving a space it didn't open as VSC? Why is that so?
@@diliaaastarlight8691 u have installed VS Studio CODE and not VS Studio? Normaly it works if u type code in cmd.
@@diliaaastarlight8691 same bro, and mine seems to display shorter information that only covers half the screen. Did you find a solution ?
@@diliaaastarlight8691 you have to type code . dont forget the fullstop otherwise it wont work
Can always rely on Indian tech TH-camrs.
lol no
@@dotmashrc that thicc accent tho. I love it.
Actually yes! Bcs Russian and Indian IT are the best in the world!
@@noobintheinternet very true
I have searched a lot about how to configure c# and .NET in my system, but nothing found. This one video helped me to configure everything and It is completely working fine, Thankzz bro
Glad it helped
You have finally ended two weeks of my personal hell!
I haven't been able to test c# scripts or programs without error until you gave me the anwer.
Thank you
Tutorials that works on the first time are rare to find. Thank you so much
I've looked everywhere for tutorials to setup C# but none of them worked for me, not even brackey's tutorial! Luckily this one did it for me
Because its an updated tutorial
@@arypandey2298 oh that makes sense
bro thank god I found this tutorial cuz its been 3 hours and Idk why it cant run or code anything and after watching this video to realize that the problem was that I installed vs instead of vs code, after I found out the problem, I immediately uninstalled/removed vs and downloaded vs code instead. TYSM
This video is really helpful. As a beginner, I’ve watched many videos, but none of them are as detailed and dedicated as yours. Thank you so much.🤩
gotta say i was f*cking with trying to run my code in VSCode and then i found this video
respect man, respect
all the other visual studio code tutorials DID NOT WORK until i used this video!!!!!!!! THANK YOU FOR GETTING ME STARTED, BRAH!
You're Welcome 😁
@@TechDecode now I need to know how to debug c#
you know, breakpoint, then i can do the rest from there and remove the bug
Great video, was facing issues when running the c# code in Visual Studio Community 2022, came across your video followed each step and now my code runs smoothly on Visual Studio Code 2022.
Appreciate how you explained each step thoroughly and really liked how you considered these segments in the video, usually people just tell you about the installation process and don't follow through with the next required tasks/steps to have your code running.
best tuto i've seen so far for c#
After spending hours and watching more than 5 tutorials about how to fix the scriptcs error, I finally got it fixed applying your tutorial. Thx a lot!!!
I have been searching for a week for a genuine video for c# in visual studio, this one is 100% working. Thank you
You're welcome 😘
@@TechDecode *SIMP*
@@TechDecode SIMP
i was so stressed out about not being able to even run a simple hello world program. thanks so much! it worked!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Got me up and running in no time, and I learned a lot. Thank you. ( I subscribed && liked! )
Thanks for the sub! 😇
👉 Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
In 2022 you're still on a 3.x version of dotnet. That takes some commitment. Bravo!
I found only one useful video during the whole day of searching. And I'm talking about your video.
thx)
You're welcome! 😇
Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
Subscribe : rebrand.ly/FreeSubscription
Yeah I agree that!
i spend 3 DAYS trying to find a way excute c# code in diffrent script editors you saved mylife
Thank you sir I really satisfy now by your video
I was searching videos on this for 2 hours and finally got answer bhi you
You're welcome! 😇
👉 Don't forget to enroll in Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
👉 Subscribe : rebrand.ly/FreeSubscription
If you are interested in c# and SQL server complete project with source code you can find that in my channel also
Damn... This is my first time actually coding.... I know I have a really long way to go but still, the fact that I followed and understood your video made me like I can actually do this.... All I can do is offer you a sub, I'd do more if I could
Thank you SO much Sir, you've honestly helped me a ton! Much appreciated from South Africa 🇿🇦
You're welcome! 😇
Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
Subscribe : bit.ly/2OH9Jv
Ngiyabonga nawuncedzekile mntwana wami
hello, pls were you able to download it. I don't know why mine is not installing properly
Holly shit I think I saw your comments on a food channel called Natasha's Kitchen, what a small world !
@@isrealolalere5219 Make sure to install the SDK, not the Runtime, to install it with elevated privileges (right click -> open as administrator) and check if the installation folder is in your PATH environment variables. If not, add it your PATH.
One easy way to check that is to run cmd and type these commands in order:
1) PowerShell
2) whereis dotnet
It should return your installation folder.
OMG, Thank you so much, I have been struggling with my terminal not running my code, thank you so much!
This one is 100% working. Thank you 💙
You're welcome!
Thank you so much for these!
I have struggled with these for weeks.
Keep up the good work.
Happy to help! 😇
Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
Subscribe : rebrand.ly/FreeSubscription
I refer back to this tutorial every time I setup a new computer. Thanks for the nth time.
Thank you so much ! your step by step explanation is easy to understand even for a beginner like me.Be blessed and please continue you great job !
The video is awesome and correct helps lot for configuring vscode ,for c#.i searched a lot nothing helped me like this video. Everything worked great after doing these changes.
You're welcome! 😇
Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
Subscribe : bit.ly/2OH9Jv
Thank you SO much Sir, you've honestly helped me a ton! Much appreciated from Andhra Pradesh. I've looked everywhere for tutorials to setup C# but none of them worked for me, not even brackey's tutorial! Luckily this one did it for me. Once again thank you so much.
Happy to help ☺️
@@TechDecode sir by using your step I downloaded and it works fine
Thanks a lot sir for this video
I struggled from last 3 weeks to run c# code in my system
But sir only code is running ,if I put directives or class then it shows error
Pls sir answer me .....
Thank you sir for telling me this matter about
thank you very much I literally quit learning c# last week then I said let me try again and I found your video now I can finally code.
I like this tutorial, much more easier to follow & well explained! You earned a sub keep it up my friend!
Thanks a lot, I was searching on topic how to run C# code, but always they don't give full information, but you gave us full guide to install C# environment without any errors.
Thank you again
If you want a complete project in visual studio c# and SQL server database then I have a collection of videos for you with source codes.
thank you. You are literally my saviour, you explain things in such a simple way. Really, thank you.
Thanks man, you saved my life.Indians rock🇮🇳🇮🇳🇮🇳🇮🇳
Really great and easy explaination. Was stuck before this video. Finally its working. Thank you for such amazing video.
You're welcome! 😇
Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
Subscribe : rebrand.ly/FreeSubscription
brooooo I spend literally one whole day but didn't got the solution, but you saved my another day thank you soo so much bro really thank you
Thanks for the tips. it is an amazing step-by-step tutorial.
I truly appreciate the effort.
Thanks again
i was wondering where the run button went, thanks a lot!
You're welcome! 😇
Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
Subscribe : bit.ly/2OH9Jv
This Was A Really Helpful Tutorial And It Helped A Lot, Thanks!
Thanks so much,wanted to start to learn C# but couldn't get it to work on Visual Studio Code. This helped a lot
You're welcome! 😇
Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
Subscribe : bit.ly/2OH9Jv
Thank you so much Yogendra, this was tremendously helpful!
thanks a lot sir,i didnt know how to use c# in vscode and when i used to run it it didnt even work,THANK YOUUUUUUUUUUU
You're welcome! 😇
Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
Subscribe : rebrand.ly/FreeSubscription
Thank you so much this channel deserve more subs
I appreciate that! 😇
Thankyou..i v been searching this everywhere ..now I came to the real place..
you just made my day so much easier! Thank you so much!!! greetings from Germany :D
I'm so glad! 😇
👉 Don't forget to enroll in Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
👉 Subscribe : rebrand.ly/FreeSubscription
Oh my, how would one find out without this video? I can't believe MS (their own products) delivered their products like this.
Ah, I needed Visual Studio Community, not visual studio code. That is much more convenient.
For those who didn't get code run to work and get the error "The token '&&' is not a valid statement separator in this version." You can use the semicolon to separate commands. I.E. ""cd $dir; dotnet run $fileName""
First i have a problem like that then i apply your solution then this one happen, “bash: syntax error near unexpected token ‘&&’”
@@mcmarenjacoba9477 This would only work if you're using powershell with vs code, if you're using linux (I assume because of the bash error)I would say the original '&&' would work for that, could you copy and paste the command you used for "csharp"?
@@chris07518712505 i did same thing in the video brother. The error said “expected comma json(514) [7, 5]”
@@mcmarenjacoba9477 for this on I believe you're missing a comma after the command as its expected to be there. So it should look like. ("csharp" :"cd $dir; dotnet run $fileName ",) needs to have that comma there so the next key value pair can be read in the json document. If you keep getting errors post them. Also show us what you actually typed in your json file so we can check for errors.
Thanks :3
Best explanation. Simple and to-the-point.
Thank you very much.
Either VS Code is the best code editor or just I'm deeply in love with it. Thank you for the video.
You're welcome! 😇
Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
Subscribe : bit.ly/2OH9Jv
Bruh Thank you so much this is the only accurate video i subscribed
Thanks for the sub!
I recommended this video any one
Because this video is helpful to me❤❤❤
THANK YOU SO MUCH! THIS IS SO WONDERFUL❣
I'm glad you like it😇
Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
Subscribe : rebrand.ly/FreeSubscription
I have tried several tutorial from various sources but this is the only one which actually works. You earned a new subscriber 🙌
You're welcome! 😇
Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
Subscribe : bit.ly/2OH9Jv5
Thanks working👨💻
Welcome 👍
I like how you explain it like we are little kids, which I assume whoever needs this vid is inexperienced with c#(including me, i ain't bashing nobody), thanks!
So nice of you ! 😇
👉 Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
👉 Subscribe : rebrand.ly/FreeSubscription
Working 😎👍
Enjoy
OMG , I spent so much time looking for this and finally find the solution thank you so much
👉 Complete C# Masterclass - rebrand.ly/CsharpProgrammingCourse
👉 Free Complete C# Programming Course - pluralsight.pxf.io/CSharp_Free_Course
Dotnet Core SDK Download Link - bit.ly/dotnetcoresdk_techdecode
Visual Studio Code Download Link - bit.ly/vscode_techdecode
Command : "cd $dir && dotnet run $fileName"
[UPDATE] For those who get the error "The token '&&' is not a valid statement separator in this version." You can use the semicolon to separate commands.
Command : "cd $dir; dotnet run $fileName"
Subscribe - bit.ly/2OH9Jv5
If you found this video useful please give it a thumbs up and subscribe to my channel! and If you have any questions regarding this video, please ask them in the comment section. thanks for watching! :)
This video is helpful excellen job sir
muze koi channel mil hi nahi raha tha jo run directly on hit button batayain ooor aapka channel mil gaya main subscribe bhi ptakse kar dala
You are amazing! Thank you for teaching me how to properly run C# code is VS Code!
yer I have never struggled this much.....YOU ARE A GENIUS 🤗🤗🤗🤗
Thank you so much, I kept getting errors but you just saved me by making this video!
I was trying to find how to fix this on StackOverflow for the 'unrecognized command of scriptcs'. This helped!
Thanks...I have successfully run my code after watched this video....
You're welcome! 😇
Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
Subscribe : rebrand.ly/FreeSubscription
Thank you so much for such an excellent video. I had recently downloaded VS code and couldn't get it to run. I followed the steps in your video and it works! I will be bookmarking this video.
This guy is right I am was getting bored writting dotnet run again and again!
This man is hero, he solved my problem in 5 minutes. Thanks :)
was having a hard time running c# code in VS. thank you so much.
thank u so much! for helping me out and thanks for the guy who mentioned your video link in Stack Overflow
Thanks my guy! I was spending hours to find a solution for my problem and the ocurring error!
03/2022 still works! I love you, Sir.
great. I have been struggling for one month to start this. thank you
Thank you so much! Only your video helped me solve the problem with setting up VS Code
I've been hunting for this info ... Thanks for this video, Tech Decode Tutorials ...!
vai u are great. u don't know how much u relieved me. may GOD bless you.
Thank you so much i was searching for this video only
Most welcome 😊
👉 Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
👉 Subscribe : rebrand.ly/FreeSubscription
I can help you with a complete student management system software in c# and SQL server database
Finally it works! :D Thanks and greetings from Poland to The Country of People with Funny English Accent :D
😇 You're welcome! 😇
👉 Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
👉 Subscribe : rebrand.ly/FreeSubscription
ohh my godd thankyu sooo much, i had been stuck on the scriptcs problem for wayy long and you explained it soo nicelyy
i liked and it went from 1.3k to 1.4k and i feel very satisfied, oh and great video worked!
Awesome! Thank you!
I have been looking for this video for a long time, thank you!
Thankyou so much Sir for your well explained step by step guidance ....helped this dumb person to run the code in one go ....Thanks a Lot ...though there are too many steps but you made it so simple,easy and quick to do 😇🙏
Thank you very much
I spend +-2 hours until I found your video
You're welcome! 😇
Complete C# Masterclass - bit.ly/CsharpProgrammingCourse
Subscribe : bit.ly/2OH9Jv
Helpful Video for setting whole path & extension for run C# programming in VS Code.
Great video, got me up and running in less than 10 minutes! Cheers!
Thank you, you are a good teacher you made it soooo simple.
Thank you for providing the way to run the c# code through the run button. I was looking for such a way to run the code in the usual away available on other IDE program apart from using the "dotnet run" command from terminal.
Thank you so much for providing step by step process.
You're Welcome 😇
It worked in my case! Great vídeo! One more member around here.
Welcome aboard 😇
👉 C# Masterclass - bit.ly/CsharpProgrammingCourse
Really thanks full for uploading in this video because i am spending too much time for this purpose,and searching many of them videos once again thanking you
Thank you! Now I'm semi prepared for my Comp Sci class
it's very helpful video for me, thanx for creating it
Thanks broo....
I was stuck here for last couple of months
Thank you very much ❤❤
Thankyou so much its been hard for me to type in terminal
I love you mister tech decode tutorials!
Thank you very much, dude.I spent a lot of time just to run my code.thank you
Thank you so much I have just spent hours trying to do this but then you helped me!!!
The only helpful tutorial I found.
Thank you :)
Good video, thanks. Being that this is all Microsoft--the IDE--VSCODE, the language--C#, should be easier? This is much less counterintuitive than i thought; it is much easier creating new folders/projects with C and VSCODE, after seeing this I figure it's because of the dot net framework overhead. this video makes the odd terminal commands and other things needed for hello world on VSCODE/C# a lot easier. I also didn't know you could write cmd into explorer address and have it pop up the cmd window. Cool!
Thanks a lot. You explained very well. It solved my problem.
Thank you so much for this tutorial! Much appreciated!
Thanks for the video. Im used to just throwing code in a compiler and run... This one took me a while to figure out.
You can find a complete project in my channel dear. That will also help you.