About 47,300 results
Open links in new tab
  1. How to compile and run a single class file cs file?

    Sorry if this is trivial, I am new to Visual Studio, I have a single project in which contains multiple class files (.cs) files, how do I run each one individually. Whenever I go to debug, it sele...

  2. Can't run program because it asks me to attach on process

    2 I have x64 on my mashine and after installing Visual Studio I couldn't run the code same as you. I solved the issue by deleting this Path system's variable which is in System Properties > …

  3. How do I run Visual Studio as an administrator by default?

    589 I recently discovered that even while logged into my personal laptop as an administrator, Visual Studio does not run in administrator mode and you need to explicitly use Run As …

  4. How do I start a program with arguments when debugging?

    Then, click on the Debug tab. Then: If you're using Visual Studio 2022 Continue by clicking Open debug launch profiles UI. Fill in your arguments in the textbox labeled Command line …

  5. Can't compile code "launch: program <program_path> does not …

    I have simple console application in C++ that I succeed to compile with Visual Studio. I wanted to try Visual Studio Code so I copied the directory to the computer with Visual Studio Code instal...

  6. How can I compile and run a C# program without using Visual …

    I am very new to C#. I have just run a C# ' Hello, World! ' program using Visual Studio. Can I run or compile a C# program without using Visual Studio? If it is possible, then which compiler …

  7. Compile to a stand-alone executable (.exe) in Visual Studio

    45 how can I make a stand-alone exe in Visual Studio. Its just a simple Console application that I think users would not like to install a tiny Console application. I compiled a simple cpp file …

  8. Where can i run my code in visual studio? - Stack Overflow

    Nov 23, 2020 · 0 How to: Run a C# program in Visual Studio The project should contain a C# file with a Main method, and its output should be an executable (EXE), you have created an …

  9. c++ - Multiple main CPP files in VisualStudio? - Stack Overflow

    For example in Eclipse/Java you can right-click any file with main and run it. And there can be many of main files in one project. Is this possible for VisualStudio/CPP? UPDATE 2 I know …

  10. Visual Studio debugger error: Unable to start program Specified …

    The project is most likely generated via CMAKE and included in your Visual Studio solution. Set any of the projects that do generate a .exe as the startup project (by right-clicking on the …