locked
Visual Studio and C++ folders

    Question

  • A few questions:

    Why does Visual Studio have filters instead of actual folders?

    How would I create a folder in the solution scope, like that in the Starter_Kit example? There's a shared folder that the assets are stored.

    Wednesday, May 22, 2013 2:16 PM

Answers

  • The behavior is a little odd with VC++ 2012. My previous comment was for VC++ 2010. It's not just enough to add a folder and then include it via "show all files". You need to add a filter, then add a physical folder that matches the filter, and then when you add files it may not add it to the right folder, so you may then have to drag/drop it via solution explorer.

    http://blog.voidnish.com

    • Proposed as answer by Jesse Jiang Friday, May 24, 2013 6:01 AM
    • Marked as answer by Jesse Jiang Tuesday, May 28, 2013 1:36 AM
    Thursday, May 23, 2013 12:22 PM

All replies

  • If you physically create a subfolder and then include that in your project, it works like a filter but will also map to the physical folder. Kinda different from how it's done with C#.

    http://blog.voidnish.com

    Wednesday, May 22, 2013 9:16 PM
  • The behavior is a little odd with VC++ 2012. My previous comment was for VC++ 2010. It's not just enough to add a folder and then include it via "show all files". You need to add a filter, then add a physical folder that matches the filter, and then when you add files it may not add it to the right folder, so you may then have to drag/drop it via solution explorer.

    http://blog.voidnish.com

    • Proposed as answer by Jesse Jiang Friday, May 24, 2013 6:01 AM
    • Marked as answer by Jesse Jiang Tuesday, May 28, 2013 1:36 AM
    Thursday, May 23, 2013 12:22 PM