Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

C# I need help creating a new C# project / file in Visual Studio Code

Hello!

I'm new enough to programming that I'm not even entirely sure what question I'm supposed to be asking, but I keep getting an error when trying to run a coding project that I found online (the idea is that I'm trying to see what the code does).

I've tried a few different ways of opening a new project or file and I keep getting error messages when I try to RUN the code. At one point, I got "Unable to find the project that contains [insert path here]."

And then I got "please open a folder with a solution to debug" when I tried another way.

All I want is simply to be able to run some code in Visual Studio Code so I can see what it does and begin to understand each of its components. I'm very frustrated that I am trying to learn to code but I'm having trouble even figuring out something as BASIC as "how do I even make ANY piece of code run on this thing?"

If someone could please explain to me how to even make any code do anything like I am an absolute beginner (because I am), I would be EXTREMELY grateful. I'm on a Windows BTW and I'm pretty sure I've installed everything I need because I have successfully linked Visual Studio Code with Unity and the two are successfully interacting (I am following along with a Unity tutorial on Udemy).
 
Hello!

I'm new enough to programming that I'm not even entirely sure what question I'm supposed to be asking, but I keep getting an error when trying to run a coding project that I found online (the idea is that I'm trying to see what the code does).

I've tried a few different ways of opening a new project or file and I keep getting error messages when I try to RUN the code. At one point, I got "Unable to find the project that contains [insert path here]."

And then I got "please open a folder with a solution to debug" when I tried another way.

All I want is simply to be able to run some code in Visual Studio Code so I can see what it does and begin to understand each of its components. I'm very frustrated that I am trying to learn to code but I'm having trouble even figuring out something as BASIC as "how do I even make ANY piece of code run on this thing?"

If someone could please explain to me how to even make any code do anything like I am an absolute beginner (because I am), I would be EXTREMELY grateful. I'm on a Windows BTW and I'm pretty sure I've installed everything I need because I have successfully linked Visual Studio Code with Unity and the two are successfully interacting (I am following along with a Unity tutorial on Udemy).
Hi there...
Unfortunately, you are going to have to install a few extensions for working with/compiling/running C# on Visual Studio Code... oh the shenanigans of not being a full IDE. You wouldn't have this issue were you running the original Visual Studio, but because VSC is an overglorified text editor basically without those extensions.

Here is the documentation on how to install all you need to run C# with VSC.
 
Hi there...
Unfortunately, you are going to have to install a few extensions for working with/compiling/running C# on Visual Studio Code... oh the shenanigans of not being a full IDE. You wouldn't have this issue were you running the original Visual Studio, but because VSC is an overglorified text editor basically without those extensions.

Here is the documentation on how to install all you need to run C# with VSC.
I see.

Would it be easier if I just downloaded the original Visual Studio then? Would I not have such difficulty?
 
I see.

Would it be easier if I just downloaded the original Visual Studio then? Would I not have such difficulty?
Yea, just keep in mind that Visual Studio is hefty, and will only work on a Windows machine. If you're using Linux/mac your options are to use VSC with the extensions, or use Xamarin/Mono Studio.
 
Yea, just keep in mind that Visual Studio is hefty, and will only work on a Windows machine. If you're using Linux/mac your options are to use VSC with the extensions, or use Xamarin/Mono Studio.
Thanks for the advice, I'll check it out. Is VS (as opposed to VSC) basically just plug and play rather than all this complicated mess with VSC?
 

New Threads

Buy us a coffee!

Back
Top Bottom