Visual Studio 2017 c++ win32 console project template - c++

I am on Visual Studio Community 2017 v. 15.3.1 and I can't seem to find Win32 console application or Win32 project. Still have empty c++ project template and Windows Console Application template.
On the start page, I still have win 32 console project available, but if I click it, I get a prompt about removing it from the list
EDIT: I have currently installed following Workloads:
Universal Windows Platform
Net desktop development
Desktop development with C++
Game Development with C++
Visual Studio extensions development
I've done no changes to workload configuration, save from adding a few extra components.
I've been fiddling with installer for a while but can't figure out which package I need for this. Any suggestions?

The new updated changed some things. Go to file -> new project -> visual c++ -> windows desktop -> windows desktop wizard -> select whatever you want
If you haven't installed C++ at all (doesn't come by default as mentioned above) look here

This seems to work. Credit all goes to the original website! :)
(https://developercommunity.visualstudio.com/content/problem/93159/cant-find-win32-console-application-for-new-projec.html )
If you are using Visual Studio 2017, and can't find "win32 console project" after File ->> New ->> Project:
(https://imgur.com/a/3mmgyP3 : VS 2017 "New Project" without "win32 console project" )
Go to File ->> New ->> Project ->> Windows Desktop Wizard ->> select "Empty Project"
VISUAL STUDIO 2015
(https://imgur.com/a/9H7sHfV : File ->> New ->> Project ->> "Win32 Console Application")
VISUAL STUDIO 2017
(https://imgur.com/a/5Qqzf1L : File ->> New ->> Project ->> "Windows Desktop Wizard")

Related

How to create DLL project in VS2017 correctly?

I use Microsoft Visual Studio 2017 Community Edition and I want to create a C++ dll.library. I use the following manual:
https://msdn.microsoft.com/en-us/en-en/library/ms235636.aspx
However there is no manual for VS 2017, only for 2015 and below. VS 2017 haven't project type Win32 Console Application and it doesn't open Win32 Application Wizard dialog box.
How I can create C++ DLL project in VS2017?
Create the DLL project:
In this set of tasks, you create a project for your DLL, add code, and build it. To begin, start the Visual Studio IDE, and sign in if you need to. The instructions for Visual Studio 2017 version 15.3 come first. Instructions for earlier versions come later, so skip ahead if you need to.
To create a DLL project in Visual Studio 2017 version 15.3 or later
On the menu bar, choose File, New, Project to open the New Project
dialog box.
In the left pane of the New Project dialog box, expand Installed and
Visual C++ if required, and then choose Windows Desktop. In the center pane, select Windows Desktop Wizard. Enter MathLibrary in the
Name box to specify a name for the project.
Choose the OK button to dismiss the New Project dialog and start the
Windows Desktop Project wizard.
In the Windows Desktop Project wizard, under Application type,
select Dynamic Link Library (.dll).
Choose the OK button to create the project.
And To use this .dll in a client app follow this link.

Visual Studio 2017 Build Configuration Missing

I have Visual Studio 2017 Community 15.7.2 installed. The build configuration drop down options disappear. I have been having Problems with the build configuration disappearing on my work machine (Visual Studio 2017 Enterprise 15.8.2) as well.
If I create a new project File -> New Project -> Web -> ASP.Net Web Application (.Net Framework).
The build configuration option shows up. Then if I click on a controller class e.g. HomeController.cs. The option clears out.
The option will show up again after changing "Show output from" under the Output window. If I bring up a .cs file again. The build option disappears:
Is this now a normal behavior in Visual Studio? I suspect a bug in Visual Studio and have been updating more often than usual in attempt to fix it.
The latest update to Visual Studio Community 2017 (15.8.4) did not fix the problem.
Go through each of the Tools -> Extensions and Updates and disable an extension and then restart Visual Studio. Start with ones that aren't created by Microsoft.
Repeat this until you have tried all the extensions.

Visual Studio 2017 console application : precompiled header

Recently I updated my Visual Studio 2017.
Since then, I can't create windows console application project.
[File] - [New] - [Project]
and I selected [Installed] - [visual C++] - [windows console application program]
When I clicked OK, application setting wizard didn't appear.
above wizard didn't appear. Instead Visual Studio automatically created precompiled header project.
What's wrong?
According to Visual Studio 2017 release notes:
The Windows Console and Desktop Application templates now create the projects without displaying a wizard. There's a new Windows Desktop Wizard under the same category that displays the same options as before.
I resolved my issue.
Go to file -> new project -> visual c++ -> windows desktop -> windows desktop wizard
There's a new Windows Desktop Wizard under the same category that displays the same options as before
Be sure you selected ... Wizard by creating project. There you can select "Console Application" type , DLL... in drop down menu. If you have selected "Windows Console Application" for instance there is no wizard any more, it creates full project. You can set/change that under:
Configuration Properties → C++ → Precompiled Headers
if you need to have an empty console application project, try empty project.
[Installed] - [visual C++] - [Empty Project].
Then add new .cpp file to the Source Files folder in solution explorer.
[right click on Source Files] - [Add New Item] - [C++ File (.cpp)].

Win32 Console Application missing in VS2017. How to create C++ Empty Project?

I installed the VS2017 community and I am lost: the Win32 Console Application in missing.
I don't even have template when I go to New Project and also I cannot create C++ Empty Project in VS2017.
How I can solve it?
Install all the optional tools for c++ development
then follow these steps ( Microsoft has updated its visual studio and there are some minor changes)
The new updated changed some things. Win32 Console Application is gone in the new update. Go to File -> New Project -> Visual C++ -> Windows Desktop -> Windows Desktop Wizard -> Application type: Console Application (.exe), Additional Options: Empty Project
Then have fun!
You just need to install "Visual Studio C++ core features". Don't install everything about C++. It consumes too much storage and possibly slow down your IDE.
Steps:
Open Visual Studio 2017 Installer.
Select "Individual Components" tab.
Select "Visual Studio C++ core features".
That's all.
If you are not interested in Game or Mobile C++ development you can remove your selections in "Workloads" tab to get free space in your hard drive :)

How do I create a native application using Visual C++ 2008?

I am getting started in C++. How can I setup Visual Studio 2008 to create native (not managed) code?
Choose a Win32 Project.
If you're just getting started you probably want a Win32 Console Application, and not a Win32 App. File -> New -> Project -> Visual C++ -> Win32 -> Win32 Console Application
When you create the project itself you'll probably want to click Next before you click Finish, and select Empty Project so that VS won't add a bunch of junk to your project for you.
File -> New -> project (maybe go to other lang if you see c#) -> visuall c++ -> win32
You can choose other types there it still be native.
(like mfc, but I doubt if you really need something other then the basic win32)
In the new projects dialog, choose any project type under the Visual C++ group. You'll need Visual Studio Pro, or Visual Studio Express for C++.