Build Console Application with Visual Studio 2017

Q

How to build a console application with Visual Studio 2017?

✍: FYIcenter.com

A

If you have created a console application project, and finished coding in the C++ source file, you can follow this tutorial to build the console application in debug mode:

1. Click "Build > Build Solution" menu. You see project build messages showing up in the output box below the source code.

1>------ Build started: Project: Hello-Project, Configuration: Debug Win32 ------
1>Hello-Project.vcxproj -> 
   C:\fyicenter\vc2017\Projects\Hello-Solution\Debug\Hello-Project.exe
1>Hello-Project.vcxproj -> 
   C:\fyicenter\vc2017\Projects\Hello-Solution\Debug\Hello-Project.pdb (Partial PDB)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

2. Go to a command console and run:

>C:\fyicenter\vc2017\Projects\Hello-Solution\Debug\Hello-Project.exe
Hello World!

 

Application Release Build with Visual Studio 2017

What Is Windows SDK 8.1

First C++ Program in Visual Studio 2017

⇑⇑ Visual Studio Tutorials

2023-10-27, 1551🔥, 0💬