Winsmarts.com

Microsoft MVP

MVP Logo

Awarded the Microsoft MVP Award.

Hosted By

blah!bLaH!BLOG!!

SharePoint 2010 and VS2010 Development trick – Shortcut key the Deploy

Posted on 1/8/2010 @ 12:08 AM in #SharePoint 2010 B2 | 0 comments | 1787 views

I like VS2010 tools for SharePoint 2010. But the one thing I find annoying is that while I can build using CTRL_SHIFT_B, and the intended approach of the tools was to hit F5 to deploy, the reality is that I don’t want to attach to the browser in most instances. Popping up the browser, attaching, just takes too long.

So, instead, could I just deploy, and visit my solution the browser? Sure! But deploy requires me to take my hands off my keyboard. So I do CTRL_SHIFT_B to build, and then take my hand to the mouse, right click, deploy .. umm no!

What you need to do is, in VS2010, go to Tools->Options-> Go to Environment, and under Keyboard, look for the command Build.DeploySolution, and give it a shortcut key .. I choose CTRL_SHIFT_ALT_B. (So CTRL_SHIFT_B is for Build, and press ALT to Build). This can be seen in the screenshot below -

 

Great! now I can deploy right from the keyboard!

Please post your comments:


Your feedback will be submitted for moderation, and will appear after it is approved.

Name:  
Email (optional): Your email address will not be posted.
URL (optional):
Comments: HTML will be ignored, URLs will be converted to hyperlinks  
Enter the text you see in the box:
 

Site designed and maintained by Sahil Malik | All Rights Reserved. ©2007 WinSmarts.com.