How do I “Add Existing Item” an entire directory structure in Visual Studio?

前端 未结 18 1311
眼角桃花
眼角桃花 2020-11-28 00:18

I have a free standing set of files not affiliated with any C# project at all that reside in a complicated nested directory structure.

I want to add them in that for

18条回答
  •  伪装坚强ぢ
    2020-11-28 01:09

    At last, Visual Studio 2017 allows the user to import an entire directory with a single click. Visual Studio 2017 has a new functionality "Open Folder" that allows opening the entire folder, even without the need to save it as solution. The source code can be imported using the following methods.

    1. Menu FileOpen → *Folder (Ctrl + Shift + O)
    2. devenv.exe

    It even supports building and debugging CMake projects.

    Bring your C++ codebase to Visual Studio with “Open Folder”

提交回复
热议问题