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

前端 未结 18 1312
眼角桃花
眼角桃花 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条回答
  •  旧时难觅i
    2020-11-28 01:07

    In Solution Explorer:

    1. Click Show All Files (second icon from the left at the top of Solution Explorer).
    2. Locate the folder you want to add.
    3. Right-click and select "Include in Project"

    I use this to install add-ons like HTML editors and third-party file browsers.

提交回复
热议问题