I'm going to publish the project in C ++, for convenience and quick start working with him I want to attach the project to Visual Studio. What files need to be put, is it possible to somehow put them into a directory, for example msvc ? What files do not need to put? Maybe you can automatically generate project files? There are a lot of settings there, somewhere, perhaps the paths are absolutely or some other information that you don’t need to publish.

  • the minimum is all * .c, * .cpp, * .h, * .hpp. Also the project file (It depends on the studio version). - KoVadim pm

1 answer 1

VS 2012 and newer

.vcxproj : .sln .vcxproj .vcxproj.filters

No need: .suo .sdf .opensdf *.user and build results (Release, Debug)

(still, if it is configured to save precompiled headers locally, the ipch folder ipch not be committed)

VS 2008 and older

.vcproj : .sln .vcproj

No need: .suo *.user .ncb and build results (Release, Debug)