My weak words can't thank you. I'm just 14 years old. I really appreciate your effort. Even I'm from Egypt here watching your informative videos.. AMAZING! THANK YOU!!!
Thanks man, I've been coding for a while now in unity but I still had no clue on how to set this up outside of unity, Thanks! Btw my left ear enjoyed this video very much.
Just one question, how does the command line understand which file to execute? In the .Net directory that you created there could be multiple .cs files, so how do I specify what runs using dotnet run?
I did the sdk installation and it was recognized in the cmd but not recognized in vs code and giving me this error dotnet : The term 'dotnet' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, ame, or if a path was included, verify that the path is correct and try again. plz any help 😥
Can't install 'ms-dotnettools.csdevkit' extension because it is not compatible with the current version of Visual Studio Code (version 1.74.3). Please help it always says this even with the pre-realsed and released version
I've done every step u told , but when I'm going to make my new file and try to run new file, then it always show me the output of first file that system has automatically created when i click dotnet new console, why I'm able to run different programs like i do in all languages in va code
Well there's a default file Program.cs in dotnet console app, and it gives output whenever we use dotnet run. It is because this file has the main method(you may not see it because of top level statements enabled) within it. If you want to run another file within the same project then add the main method in it. OR use that specific class in the Program.cs file.
i installed .NET, It shows in cmd but not in visual studio, there is error "The term 'dotnet' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
this error shows when i do dotnet new on 6:14 why? dotnet : The term 'dotnet' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
I did all the steps as you did without any problems, but I can't run the code files I wrote, it gives an "invalid file" error in the lower right corner of the screen.Could you help me, please
I don't know which files you're running. For running a c sharp file you need to create project first, if it is console, create a console project, then try to run your project using 'dotnet run'
please i got this Error loading webview: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state.. ana when i use the termenal i have got anything
Webview? Are you using mvc or any other project type? I can't answer exactly before knowing all the details and scenario of error. Please google your error, you may find the answer that you're looking for
@@DhruvDhingra-e6h By default, our project comes with few global usings. You can have your own class for global usings, where you can add using statements by placing the global keyword before the statement. Like global using System.Text;
Check out the latest .Net 8 video
th-cam.com/video/LZvkBbyhX1w/w-d-xo.htmlsi=FnN0DYetNhApOgJT
Sir yeh VSCode ki white background theme ka name bata den. Thank You.
@@my_graphics piyaray bhai normal light theme hai, ap preferences me jaa k set kr sakty hain
It's always a South Asian brother explaining detailed stuff in the simplest manner. Thank you so much man:)
So nice of you
@@IAmUmair As a fellow South Asian I'm proud 👏
My weak words can't thank you.
I'm just 14 years old.
I really appreciate your effort.
Even I'm from Egypt here watching your informative videos.. AMAZING!
THANK YOU!!!
Most welcome brother.
Good luck
You have no idea how much of my time you've saved. Thanks champ.
Glad to hear it!
This tutorial solved all my problems god bless this man 🙏🙏🙏🙏😭
Thanks brother
Thanks man, I've been coding for a while now in unity but I still had no clue on how to set this up outside of unity, Thanks! Btw my left ear enjoyed this video very much.
true:)
Awesome thank you for this video so helpful in setting up my C# code and .NET!
Glad it was helpful!
thank you, man you saved my third year
Glad I could help!
thanks for this. I gotta learn C# for my internship next month.
Have a nice journey
Thank you, I'm warming up to hopefully start my university degree in software engineering soon
thanks for this bro
Welcome bro
Sir, you are literally best. Even my paid course didn't teach like this.
Wow, thanks
What a video man that's productive thanks. Keep up
Thanks
Thank you for help :))
btw cute voice ^^
Thank you
thank you, my brother! from Russia with Love❤
Thank you too!
thank you! very short and easy to understand.
You're welcome
Thank you very much for the video ❤️
You're welcome 😊
Thank you for the step by step explanation
Thanks for this video bro.
bhagvan bhala ker bhai tara jaisa log bhot help kerta h
I am very thankful
Thanks a lot ☺️, this is a real video , u can trust on it !
Welcome 😊
Thankkkkkkk Youuuuu soo much sir.... your this vdo helps a lot 😭♥️
Welcome brother
Glad to know that it helped you
Awsome tutorial. Thanks much
Glad it was helpful!
Thank you! First tutorial I see that is so useful 🤩
Glad it helped, please subscribe for more videos
Thank you very much, you helped me, I wish you success
Glad it helped, thanks
thank you so much ,I appreciate
thanks, please appreciate by subscribing.
if we have multiple cs files in one folder will it show output of only 1 file, we need to create more terminal commands for running files
normally console application has 1 file that contains main method; in order to make use of other files, you can make use of OOP.
Thank you!
I never thought this is possible until I found your video, thanks man! big help.
Thank you so much!
You're welcome
Thank you brother ❤
My pleasure
doing us a great service
Amazing, thank you very much
Glad you liked it!
100 percent working and full solution and thanks bro
Welcome brother
Best ever tutorial ❤🔥
thank you so much
Thank you so muchhh!
You're welcome!
Thank you very much.
Welcome 😊
thank you man. very clear video and very helpful
Welcome
you have my respect bro
Thanks
Your share information in the video is perfectly workable.. so thank you...⭐⭐⭐⭐⭐
Welcome brother
Thank you dude!
Happy to help!
Nice
Thanks
Thank You! It was really helpful.
the good video, thanks bro
Thanks brother
00:00= Install vs code, 01:01= .NET sdk, 03:20= .Net checking ,
Just Thanks ❤!
You're welcome 😊
good job helped a lot!
You're welcome!
thank you for clear demonstration
Bro in 4:19 after installation also it is showing as not recognized as an internal or external command..what to do?
bro if sdk got installed successfully, then restart your command prompt, and check again.
Thank you, bro👍
Thank you too
good video, thanks
welcome
Just one question, how does the command line understand which file to execute? In the .Net directory that you created there could be multiple .cs files, so how do I specify what runs using dotnet run?
dotnet run looks for csproj project file and execute it
it worked for me
thanks
You're welcome!
I did the sdk installation and it was recognized in the cmd
but not recognized in vs code and giving me this error
dotnet : The term 'dotnet' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, ame, or if a path was included, verify that the path is correct and try again.
plz any help 😥
Can you please restart your visual studio code
@@IAmUmair rlly thank you sir, you saved my life 😭💗💗
But again same error
@@ADVIK-v2k Delete the "dotnet" file in Program Files (x86). Then try again
@@littlenightmares7921thank you so much
Thanks, it was good, short and very usefull, like and subscribed
God bless you
Same for u
thanks bhai
it works
Welcome
Thank you so much, this helped a lot
Nice job, thank you! Keep going man!
Welcome, it means a lot
thanks boss, you're the man!
Glad it helped!
Can't install 'ms-dotnettools.csdevkit' extension because it is not compatible with the current version of Visual Studio Code (version 1.74.3).
Please help it always says this even with the pre-realsed and released version
make sure you have installed the latest version of visual studio code.
very short and awesome video. Thanks.
Glad to know it helped you.
Thanks bro!
Welcome
Thank you Great Eplanation
good job
Thank you
Thanks man
You're welcome!
Thanks brother
Welcome
When i said dotnet build it showed one error saying missing partial modifier on declaration of type 'Program'
There could be an issue with the Program cs file.
Thank you so much
Welcome
Thanks a lot dude!
thanks bro♥♥
Most welcome
I've done every step u told , but when I'm going to make my new file and try to run new file, then it always show me the output of first file that system has automatically created when i click dotnet new console, why I'm able to run different programs like i do in all languages in va code
Well there's a default file Program.cs in dotnet console app, and it gives output whenever we use dotnet run. It is because this file has the main method(you may not see it because of top level statements enabled) within it.
If you want to run another file within the same project then add the main method in it. OR use that specific class in the Program.cs file.
i installed .NET, It shows in cmd but not in visual studio, there is error "The term 'dotnet' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again."
Can you plz restart visual studio code?
If it's working in cmd, then it should be working in vscode terminal
@@IAmUmair g ho gya ha thanks
Thank you;
You're welcome!
This is superusefull
thanks, happy coding!
Thank You. Well Explained.
Glad it was helpful!
this error shows when i do dotnet new on 6:14 why?
dotnet : The term 'dotnet' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again.
Please restart your visual studio code or terminal, then try again.
7.0 is released so do i need to download 6 or just 7?
You can download 7.0 if you want
in the command promt everyting is good but in visual studio code is not. When i type dotnet new it says the command could not be loaded.
may be you should restart visual studio code.
by default dotnet gets installed globally, so its commands can work from any location
Thank you
You're welcome
it says Specify which project or solution file to use because this folder contains more than one project or solution file.
You have created more than one project may be...
So make sure to go into the project folder, and then run your dotnet command
Thanks for the video man u saved me
I did all the steps as you did without any problems, but I can't run the code files I wrote, it gives an "invalid file" error in the lower right corner of the screen.Could you help me, please
I don't know which files you're running.
For running a c sharp file you need to create project first, if it is console, create a console project, then try to run your project using 'dotnet run'
thank u bro
Welcome bro
When I run dotnet build ,it's build failed even though the prior process was alright
The build will provide failure reasons.
Can you plz share those
Thanks for your help
Really appreciated
Thanks
Thanks for helping bro
Welcome bro
please i got this Error loading webview: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state.. ana when i use the termenal i have got anything
Webview? Are you using mvc or any other project type?
I can't answer exactly before knowing all the details and scenario of error.
Please google your error, you may find the answer that you're looking for
Thanku very much.. ❤
Welcome
Do you know why there is a one-line code? When I try to change the print statement it keeps printing out hello world
Nvm I fixed it a great video though
One line code can be converted into class, method format.
If you are getting the same message then clean and rebuild your project before running it.
❤THANK YOU SO MUCH ❤
Welcome
brother you are awesome. Thank you so much
Thank you brother
It means a lot
Hi bro
Iam installed both
dotnet-sdk-6.0.406-win-x64
VDCodeUserSetup-x64-1.75.1
But in the command prompt showing no SDK were found
Hi bro please verify that you have installed as per instructions in the video or not, then please let me know if issue persists
@@IAmUmair iam installed as per the video but showing like that only
@@uday_world same case!
@@luhencedbi1895 Delete the "dotnet" file in Program Files (x86). Then try again
thanks
You're welcome!
Thanks bruh but how can we enable the using statements
Welcome,
Are you talking about global using statements?
@@IAmUmair yup
@@DhruvDhingra-e6h By default, our project comes with few global usings.
You can have your own class for global usings, where you can add using statements by placing the global keyword before the statement.
Like
global using System.Text;
@@IAmUmair thanks, wht’s ur instagram ?
Thnkyou so much sir
Most welcome
Thank you!
Welcome!
I have a problem I followed all steps but when I write dotnet new in terminal an error occurred "the command could not be loaded" please help me🙏
Can you please confirm this command from command prompt?
I believe you need to restart your visual studio code, and try again
This command work in command prompt and I also restarted it
Then it should work in vscode terminal
I used it in vs code terminal but same error occurred
Well it's quite strange that it's working in command prompt but not in vs code terminal.
Cool... Thanks... Bro
Welcome bro