Reputation: 10150
In Visual Studio 2013, often I am editing a file that is not in the current project, and would like to add this file to the project. Is there an easy way to do that? The only way I've found is via right click on the project, Add/Existing Item (Shift+Alt+A), and then browse to the file I want to add in the dialog. Is there a shortcut I am missing?
Upvotes: 1
Views: 22
Reputation: 43331
This works in Visual Studio 2010:
Right-click on the document tab, select "Copy Full Path".
Project - Add Existing Item - Ctrl+V - Add.
Upvotes: 1