visual studio 2015 community c++ new project window disappears after clicking OK - c++

I click on new project. Select win32 console application. Click on ok. New project window disappears. 1 second later it is there again, without a new project.

I'm assuming you're familiar with project creation and have already done it with a different version of VStudio.
Its possible your wizard templates are corrupted. If you are unable to create any other type of project then it most definitely is.
Run the installer again and attempt a repair.
But if you are not familiar with project creation then just follow the wizard and you should have a project being created.

Related

Win32 Console Application

I have the VS2017 community and I am lost: the Win32 Console Application is missing.
I don't even have template when I go to New Project and also I cannot create C++ Empty Project in VS2019.
I download almost everything from installer.
How I can solve it?
!
The Win32 templates have been renamed to Windows Desktop.
In VS2017, If you want to create the Win32 Console Application,I suggest you could choose File->New->Project. And then choose Windows Desktop Wizard.As shown below:
If you want to create Win32 Console Application, you could select Console Application(.exe) in Application type. If you want to create the Empty Project, you could check Empty Project
In vs2019, if you want to create a Win32 console application, the steps are similar to in vs2017:
1,From the main menu, choose File > New > Project to open the Create a New Project dialog box.
2,At the top of the dialog, set Language to C++, set Platform to Windows, and set Project type to Desktop.
3,From the filtered list of project types, choose Windows Desktop Wizard
4,Under Application type, select Desktop application (.exe). Under Additional options, select Empty project.

Where is the project wizard in VS 2017?

I want to create a static library which I want to use in other projects in VS2017 Community but I can't find the right way.
I tried to follow the instructions from here which is for VS2015 but when I want to create a new project I can just provide the name, solution name, location of solution and whether I want to create a directory for the solution or not and with git repository or not.
I remember a project wizard where I could deselect precompiled headers and set the output to a static library.
Did something change or am I missing a component?
Updated answer:
Create new project and under Visual C++ -> Windows Desktop there is a project template called Windows Desktop Wizard which will open the project wizard.
From VS 2017 15.3 Release notes (credits to user VTT from another question)
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.

Visual Studio 2012 everything out of date

In Visual Studio 2012, I usually use C# applications, which work fine. Now that I feel like I have a strong grasp of C#, I've decided to move on to C++. I have changed no preferences. All of my C++ projects say that the project is out of date. Here are my steps:
File -> New Project
Click "Visual C++" tab -> Win32 Console Application
Change nothing and click OK
Click Finish for the Win32 Application Wizard
Press F5 to run, or click the button (which says "Local Windows Debugger").
I'm not sure if I'm making a mistake or if there are missing dependencies. My question is, what is causing this and how can I prevent this message? If you don't know, then what are some things that I can do to find out?
what is causing this
=> Two possible reasons :
you just created the project and have not built it before trying to launch it
OR you made some changes to the project files and tried to launch the application before building the project
how can I prevent this message?
Tick "Do not show this dialog again" and click yes : your application will automatically be built every time you want to launch it.
OR always build the project before launching it

VC++ 2010 does not create C++ projects

I have a really big problem. Visual studio 2010 does not create C++ projects any more. When I click to create a new C++ project (no matter console or Win32) it shows the next dialog, which should allow me to choose project settings, but I cannot do anything in this dialog (when I click Cancel or Finish nothing happens, I can just close this window), also, this dialog does not show all settings, like it had.
Non-C++ project are being created successfully.
I've installed a VC++ express, but it has the same problem. Class creation window also has this problem.
I tryed to reinstall VS, but it had no effect.
I tryed to launch from VS console devenv.exe /setup and devenv.exe /InstallVSTemplates
I tryed this
This is a screeshot of project creation dialog (labels are in russian, but you can open this window in your VS to see the difference)
UPD: translated window:
UPD:
Skype main window has a problem - it does not display any contensts. It seems, that problem is in IE
Yes, these wizard pages use HTML and javascript and are displayed by an embedded WebBrowser.
Your IE install is messed up.

How to use Qt on another project in Visual Studio once it is already working on one project

I am new to C++ and Qt and I am supporting a project using it. Someone set up my Visual C++ environment with Qt. I wanted to start another test project for me to practice with C++ and Qt. Ive created a new C++ project in Visual Studio, but I have no idea how to add the Qt library to it. There is a Qt menu item at the top of Visual Studio. Anyone know how?
When you select new project in VisualStudio (SHIFT+CTRL+N) you should see Qt4 Projects tab to your left. Select it and then select the type of Qt project you want create. Most likely you would be needing a "QtApplication" or "Qt Console Application" . When you create an application this way, you will have all Qt libraries and includes setup by the Qt-VS Addin automatically
The Qt menu on the top means that you already have a Qt-VisualStudio add-in installed.