On a Windows Vista (and presumably Windows Server 2008) that has User Account Control (UAC) enabled you are no longer able to drag and drop files from Windows Explorer into your VS solution. I always used this to quickly add files to a project. What a bummer.
There are 2 workarounds:
- Copy or move the files to the correct location in your Visual Studio project folder. Then go into Visual Studio and click the Show All Files button for that project.
You might need to click Refresh (not F5) on the project for the new file(s) to show up. Select them all and right-click. Choose Include In Project from the context menu.
- Instead of dragging the files simply copy and paste them into your project.
Sounds too easy for this to work, but it does.
Option 2 certainly makes it easier and faster for me.