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

前端 未结 18 1300
眼角桃花
眼角桃花 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 00:59

    This is what I do:

    1. Right click on solution -> Add -> Existing Website...
    2. Choose the folder where your website is. Just the root folder of the site.

    Then everything will be added on your solution from folders to files, and files inside those folders.

提交回复
热议问题