Partager via


Quick Tip: Add files to Visual Studio projects the easy way

Here's another in my series of "why didn't I know this feature was there".

While I was doing a technical review last week, I learned about a much easier way to add files to my Visual Studio projects.

In the solution explorer

  • Select a project
  • Click the "Show all files" button
  • Right-click on the desired file (will be shown with an empty document icon)
  • Click the "Include in project" menu item

This is so much easier than my usual technique (Add | Existing Item...).

Take care!
-- DK

[Edit: fix spelling]

Disclaimer(s):
This posting is provided "AS IS" with no warranties, and confers no rights.

Comments