VS2010: Publish w/o mouse?
I'm in VS2010. I have a project of type Web Application. I want to publish it (equivalent of Right-Cl开发者_开发百科ick,Publish on the project in Solution Explorer). I don't want to use my mouse.
What's my best move?
There is a command, but isn't a keybinding by default, but you can bind one.
Go to Tools > Options > Environment > Keyboard and in "Show commands containing:" search for Build.PublishSelection, then you can bind whatever key combo you want to that.
If you're looking at a file in the project you want to publish, hold down alt then type B, H, P.
ctrl + w + s
select the project in the solution explorer you want to publish
alt + b to access build menu
select publish your_project_name
精彩评论