Search code examples
visual-studio-2010visual-studiosolution

Visual Studio "resource" project type?


In Eclipse, you can create a "resource" project type which is basically just a folder with some files in it but visible as a separate project in the "solution". How to do that in Visual Studio?

Solution folders seem close but I don't think it's possible to add a solution folder from an existing folder on a disk, is it?

For example, I have a folder named Build with some build files and nested folders in it. I want to be able to edit these files directly from Visual Studio, how do I make them visible in solution folder without manually recreating folder structure using solution folders etc.?


Solution

  • A workaround is to add an empty website to a solution - though it defines some unnecessary things like web server configuration, it mirrors file system and that is the main thing.

    Right-click solution -> Add -> Add New Website... -> Empty Website