<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>semikolan.net &#187; visual studio</title>
	<atom:link href="http://semikolan.net/category/visual-studio-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://semikolan.net</link>
	<description>Abhilash Kolanthara&#039;s blognoise ..</description>
	<lastBuildDate>Fri, 29 Jul 2011 10:08:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/in/</creativeCommons:license>		<item>
		<title>Visual Studio &#8211; shortcut for Set As StartUp Project</title>
		<link>http://semikolan.net/2011/04/22/visual-studio-shortcut-for-set-as-startup-project/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=visual-studio-shortcut-for-set-as-startup-project</link>
		<comments>http://semikolan.net/2011/04/22/visual-studio-shortcut-for-set-as-startup-project/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 05:18:41 +0000</pubDate>
		<dc:creator>abkolan</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[shortcuts]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://semikolan.net/?p=162</guid>
		<description><![CDATA[A quick Visual Studio tip for the day. As a program evolves the number of projects in a Visual Studio Solution increases overtime. And more often than not the solution has more than one startup projects. What amazes me is that Visual Studio with the default keybindings does not have a shortcut for &#8220;Set as StartUp Project&#8221;. [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsemikolan.net%2F2011%2F04%2F22%2Fvisual-studio-shortcut-for-set-as-startup-project%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsemikolan.net%2F2011%2F04%2F22%2Fvisual-studio-shortcut-for-set-as-startup-project%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_d741952f332d3c9302e0e249d4025838&amp;hashtags=.NET,C%23,shortcuts,tools,Visual+Studio&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A quick Visual Studio tip for the day. As a program evolves the number of projects in a Visual Studio Solution increases overtime. And more often than not the solution has more than one startup projects. What amazes me is that Visual Studio with the default keybindings does not have a shortcut for &#8220;Set as StartUp Project&#8221;.</p>
<p>Knowing  Visual Studio is as extensible at it is, a custom short cut for Set As StartUp project can be achieved in less than 2 minutes. And here&#8217;s how. <span id="more-162"></span></p>
<p><strong>Step 0:</strong> Fire up Visual Studio. Navigate to Tools-&gt;Options.  Click Environment-&gt;Keyboard.</p>
<p><a href="http://semikolan.net/wp-content/uploads/2011/04/Step0.png"><img title="Step0" src="http://semikolan.net/wp-content/uploads/2011/04/Step0.png" alt="" width="602" height="349" /></a></p>
<p><strong>Step 1: </strong>Type <code>StartUp</code> in the <em>Show commands containing: </em>Textbox</p>
<p><a href="http://semikolan.net/wp-content/uploads/2011/04/Step1.png"><img class="alignnone size-full wp-image-166" title="Step1" src="http://semikolan.net/wp-content/uploads/2011/04/Step1.png" alt="" width="602" height="349" /></a></p>
<p><strong>Step 2:</strong> Select the command Project.SetasStartUpProject from the search results by clicking on it.</p>
<p><a href="http://semikolan.net/wp-content/uploads/2011/04/Step2.png"><img class="alignnone size-full wp-image-169" title="Step2" src="http://semikolan.net/wp-content/uploads/2011/04/Step2.png" alt="" width="602" height="349" /></a></p>
<p><strong>Step 3:</strong> Click on the TextBox below <em>Press shortcut keys: </em>&amp; You should see the Text Caret blinking. And be extra careful and make sure that you <strong>Click </strong>and not bring the focus to the textbox using the by Tabbing into the field.</p>
<p><a href="http://semikolan.net/wp-content/uploads/2011/04/Step3.png"><img class="alignnone size-full wp-image-173" title="Step3" src="http://semikolan.net/wp-content/uploads/2011/04/Step3.png" alt="" width="602" height="351" /></a></p>
<p><strong>Step 4:</strong> Decide on the shorcut you want to assign to this particular functionality and key in the shortcut while the focus is on <em>Press Shorcut keys</em> (see previous step). A <strong><span style="color: #ff0000;">Caveat </span></strong>here &#8211; make sure you bind this functionality to a shorcut that is *not* previously bound to any command in which you case you loose the previous binding or bind it to a shorcut that you rarely use. In this post I would be binding the command to <kbd>Shift</kbd> + <kbd>Alt</kbd> + <kbd>&nbsp;S&nbsp;</kbd> key combination &#8211; A shorcut that is associated with the Image Editor that I hardly use.</p>
<p><a href="http://semikolan.net/wp-content/uploads/2011/04/Step4.png"><img class="alignnone size-full wp-image-174" title="Step4" src="http://semikolan.net/wp-content/uploads/2011/04/Step4.png" alt="" width="602" height="350" /></a></p>
<p><strong>Step 5:</strong> Click on Asign and voila !</p>
<p><a href="http://semikolan.net/wp-content/uploads/2011/04/Step5.png"><img class="alignnone size-full wp-image-176" title="Step5" src="http://semikolan.net/wp-content/uploads/2011/04/Step5.png" alt="" width="602" height="350" /></a></p>
<h4>Usage</h4>
<p>When you&#8217;re in the Solution Explorer select(or highlight) a project you would like to<em> Set as StartUp </em>project and hit <kbd>Shift</kbd> + <kbd>Alt</kbd> + <kbd>&nbsp;S&nbsp;</kbd> And use the shortcut until your fingers bleed :)</p>
<div class="shr-publisher-162"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fsemikolan.net%2F2011%2F04%2F22%2Fvisual-studio-shortcut-for-set-as-startup-project%2F' data-shr_title='Visual+Studio+-+shortcut+for+Set+As+StartUp+Project'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fsemikolan.net%2F2011%2F04%2F22%2Fvisual-studio-shortcut-for-set-as-startup-project%2F' data-shr_title='Visual+Studio+-+shortcut+for+Set+As+StartUp+Project'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fsemikolan.net%2F2011%2F04%2F22%2Fvisual-studio-shortcut-for-set-as-startup-project%2F' data-shr_title='Visual+Studio+-+shortcut+for+Set+As+StartUp+Project'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://semikolan.net/2011/04/22/visual-studio-shortcut-for-set-as-startup-project/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

