toddmo
toddmo

Reputation: 22476

c++ how do you open folder as a project in visual studio?

I have a folder which is a c++ project but it's not a visual studio project.

How can I open the folder as a project or convert it into a visual studio project, so that I can make it?

There's no vcproj or sln files, which is expected. I'm familiar with Visual Studio and would like to take advantage of that environment.

Upvotes: 2

Views: 2166

Answers (1)

Lex Li
Lex Li

Reputation: 63298

Only latest Visual Studio release (like 2017) supports such a feature (solution-less Solution Explorer),

https://learn.microsoft.com/en-us/visualstudio/ide/develop-code-in-visual-studio-without-projects-or-solutions

But if you need debugging or other IDE features, it might not come without a solution. (You should try Visual Studio Code, plus its C++ extension, which should work better in the solution-less scenarios).

Upvotes: 1

Related Questions