Recently when I was browsing in internet for this, how to deploy only selected features into SharePoint, but not all and found a great Visual Studio 2010 Extension. Which is a great tool to use and works perfect.
Download the extension here.
Once you get his extension, directly run it by double clicking on it. Before you see the changes, close any existing Visual Studio instances and reopen them. The extension will be added to Visual Studio 2010 and ready to use. But, to use it in your SharePoint project, you need to do one more exercise.
- When you right click on your SharePoint project you will see a new entry in the menu item as shown below.
- Before you start using it, right click on the project and select "Properties".
- From the "SharePoint" tab, click on the New button to add "Active Deployment Configuration" as shown in figure.
- From the "Active Deployment Configuration" drop down, select the new configuration we just created.
- The configuration is same as others but the only extra action here is "Activate selected features" custom extension.
- Now, we are ready to use this feature. Right click on project, select "Select Features to activate…" and you will be open up with a window as shown below.
- Now, you can build and deploy, you will see only the selected features will be activated only.



