<?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/"
	>

<channel>
	<title>Visual Studio Hacks &#187; Options</title>
	<atom:link href="http://visualstudiohacks.com/category/options/feed/" rel="self" type="application/rss+xml" />
	<link>http://visualstudiohacks.com</link>
	<description></description>
	<lastBuildDate>Mon, 23 Nov 2009 23:09:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Add an existing file to a project without copying it.</title>
		<link>http://visualstudiohacks.com/options/add-an-existing-file-to-a-project-without-copying-it/</link>
		<comments>http://visualstudiohacks.com/options/add-an-existing-file-to-a-project-without-copying-it/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 04:44:20 +0000</pubDate>
		<dc:creator>dstokes</dc:creator>
				<category><![CDATA[Options]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://vsh.infozerk.net/?p=57</guid>
		<description><![CDATA[A few months ago, I posted an article on my blog explaining Versioning Multiple Assemblies by changing one partial AssemblyInfo file.
Periodically, I get email asking how to add an existing file without having Visual Studio [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>A few months ago, I posted an article on my blog explaining <a href="http://blog.darrenstokes.com/2007/12/17/ease-versioning-multiple-assemblies-by-splitting-up-assemblyinfo/">Versioning Multiple Assemblies by changing one partial AssemblyInfo file</a>.</p>
<p>Periodically, I get email asking how to add an existing file without having Visual Studio copy the file into the project directory, which is the default behavior.</p>
<p>If you want to add an existing file to a project and have the project point to the file where it resides, press the little arrow key on the right side of the add button on the add existing dialog.&nbsp; The arrow will present a small context menu that allows the option of adding the file as a link, which will cause the Visual Studio project to point to that file where it is instead of copying it to the project directory.</p>
<p><a href="http://visualstudiohacks.com/files/media/image/WindowsLiveWriter/Addanexistingfiletoaprojectwithoutcopyi_5AB1/addexisting_2.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="363" alt="addexisting" src="http://visualstudiohacks.com/files/media/image/WindowsLiveWriter/Addanexistingfiletoaprojectwithoutcopyi_5AB1/addexisting_thumb.png" width="476" border="0"></a> </p>
<p>-Darren</p>
]]></content:encoded>
			<wfw:commentRss>http://visualstudiohacks.com/options/add-an-existing-file-to-a-project-without-copying-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing the My Projects folder location (and other settings) in SSMS</title>
		<link>http://visualstudiohacks.com/options/changing-the-my-projects-folder-location-and-other-settings-in-ssms/</link>
		<comments>http://visualstudiohacks.com/options/changing-the-my-projects-folder-location-and-other-settings-in-ssms/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 18:38:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Options]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://vsh.infozerk.net/?p=56</guid>
		<description><![CDATA[One thing that has constantly annoyed me with SQL Server Management Studio is the My Projects folder (which is often the default folder when opening or saving files) is set to \My Documents\SQL Server Management [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>One thing that has constantly annoyed me with SQL Server Management Studio is the My Projects folder (which is often the default folder when opening or saving files) is set to \My Documents\SQL Server Management Studio\Projects and there appears to be no way to change it. If you go into Tools -&gt; Options you won&#8217;t find anywhere that you can change this setting.</p>
<p>SQL Server Management Studio (SSMS) uses the Visual Studio Shell, so there has to be a way to change these settings, just not through the UI. The settings are stored in an .vssettings XML file in My Documents\SQL Server Management Studio\Settings folder. Make sure you close SSMS before making changes to this file, SSMS writes to it when you close the application and will overwrite any changes you make. To change the My Projects folder you are looking for this line:</p>
<p>&lt;PropertyValue name=&quot;ProjectsLocation&quot;&gt;%vsspv_user_documents%\My Projects&lt;/PropertyValue&gt;</p>
<p>The value inside is the location of the &quot;My Projects&quot; folder. Simply change the value, and the next time you open SSMS the &quot;My Projects&quot; folder will be mapped.</p>
<p>If you peruse this file you will see many other settings you can change, I would just caution you to make a backup of the file before changing too much.</p>
<p>-James</p>
<p><a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fvisualstudiohacks.com%2ftips%2foptions%2fchanging-the-my-projects-folder-location-and-other-settings-in-ssms%2f"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fvisualstudiohacks.com%2ftips%2foptions%2fchanging-the-my-projects-folder-location-and-other-settings-in-ssms%2f" border="0" alt="kick it on DotNetKicks.com" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://visualstudiohacks.com/options/changing-the-my-projects-folder-location-and-other-settings-in-ssms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# Code Formatting</title>
		<link>http://visualstudiohacks.com/options/c-code-formatting/</link>
		<comments>http://visualstudiohacks.com/options/c-code-formatting/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 20:39:00 +0000</pubDate>
		<dc:creator>javery</dc:creator>
				<category><![CDATA[Options]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://vsh.infozerk.net/?p=21</guid>
		<description><![CDATA[Picky about your code? Visual Studio 2005 is going to make you very happy then (as long as you use C#, but then again that&#8217;s the only way to be really happy anyway). You can [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Picky about your code? Visual Studio 2005 is going to make you very happy then (as long as you use C#, but then again that&#8217;s the only way to be really happy anyway). You can specify every aspect of how your code is formatted through the Options menu. Simply navigate to Tools &#8211; Options &#8211; Text Editor &#8211; C# &#8211; Formatting and you can see the following options for Indentation, New Lines, Spacing, and Wrapping as seen in this screen shot:</p>
<p><img src="/files/media/image/csharpformat1.gif" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://visualstudiohacks.com/options/c-code-formatting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
