About 15,600 results
Open links in new tab
  1. c# - Where can i run my code in visual studio? - Stack Overflow

    Nov 23, 2020 · Check this guide Tutorial: Create a simple C# console app in Visual Studio. Open Visual Studio 2019. On the start window, choose Create a new project. On the Create a new project window, enter or type console in the search box. Next, choose C# from the Language list, and then choose Windows from the Platform list.

  2. Visual Studio not running / debugging code anymore

    Apr 8, 2020 · I am using Visual Studio 2019 with .NET extension . Everything was working fine, i.e all my C# codes and projects were executing fine on F5 when suddenly the options went dead . I am farely new to Visual Studio and cant seem to get my head around this problem . If anyone can suggest anything , it would be of great help.

  3. How to compile and run a single class file cs file?

    When working with Visual Studio, it is possible to compile and run a individual C# class files without any major configuration. Here’s how I've done: Open your desired CS File: Just make sure it's opened. Configure a new Startup: On the left side from the second green run button, click Startup Project (Highlighted in the picture).

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

    Jan 9, 2010 · 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 using the visual studio command prompt. Will the exe work even if the .NET framework is not installed? I used native C++ code.

  5. Unable to start program - Access is denied error in Visual Studio

    I tried to run some C++ code on Visual Studio 2017, but I am getting this message shown below: Unable to start program 'E:\wittos\company projects\project 4\object tracking\source codes\KCF-master (1)\KCF-master\x64\Release\ALL_BUILD'. Access is denied. How can I resolve this error?

  6. RunAs A different user when debugging in Visual Studio

    Aug 17, 2009 · Using BAT file to run Visual Studio as a different user. Especially when running in a corporate, with different domain! Create one .bat file.. eg: Create VS.bat in the desktop. (when you give extention as .bat, please make sure you changed the .txt or other extension at the end. Some time it wont display depending on your view settings)

  7. Debugging with command-line parameters in Visual Studio

    Nov 18, 2008 · In short, the Visual Studio debugger can be invoked on a program from the command line, allowing one to specify the command line arguments when invoking a command line program, directly on the command line. This looks like the following for Visual Studio 8 or 9 (Visual Studio 2005 or Visual Studio 2008, respectively)

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

    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 > Advanced then Environment Variables at the bottom. Go to the System Variables, select Path and Edit. Then delete: "C:\Program Files (x86)\dotnet". The problem ...

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

    May 11, 2016 · Visual Studio Start Options: However, Visual Studio wouldn't return the variable value, but the name of the variable. Example of Issue: My final solution after trying several here on S.O. was to write a quick lookup for the Environment variable in my Argument Processor. I added a check for % in the incoming variable value, and if it's found ...

  10. "Error while trying to run project: Unable to start program". Can …

    May 23, 2017 · The topic is old, but this might help someone else. So in my case I made a file in Visual Studio with .cp extension (accidentally deleted the last 'p') this made visual studio just "include" the the file and not mark it as a compilation unit, thus not compiling it, I looked the *.vcxproj file in a text editor and found out about this, so if …

Refresh