How to Run C# in Visual Studio Code on Windows 10 2022



Run csharp and .NET program in visual studio code on windows Hey, guys in this video I’m going to show you how you can …

36 Comments

  1. this showed up when i entered dotnet run
    C:UsersAcerDesktopmy ProjectProgram.cs(1,10): error CS1002: ; expected [C:UsersAcerDesktopmy P

    rojectmy Project.csproj]

    C:UsersAcerDesktopmy ProjectProgram.cs(1,10): error CS1022: Type or namespace definition, or end-o

    f-file expected [C:UsersAcerDesktopmy Projectmy Project.csproj]

    The build failed. Fix the build errors and run again.
    what should I do
    Thanks

  2. anyone please help me I'm getting an error after running a basic c# program in visual code the error is like (error CS0017: Program has more than one entry point defined. Compile with /main to specify the

    type that contains the entry point. The build failed. Fix the build errors and run again.) Please help me to solve this issue anyone please.🙏

  3. unable to sync settings because the content in the file is not valid. please open the file and correct it.

    this appears after i edited the johnson, please help

  4. 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.

  5. everything is ok but i don't see class program / static void / name space … it shows these =

    internal class Program

    {

    private static void Main(string[] args)

    {

    Console.WriteLine("Hello, World!");

    }

    }

  6. 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

  7. wow, perfect video ! Thank you for helping me get started with my first C# program. I wrote a Python script, but i need a compiled version that will run fast, as I am trying to create a single instance program to prevent users from running it twice at the same time,

Leave a Reply

© 2023 53GB