<?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>The Inquisitive Coder - Davy Brion&#039;s Blog &#187; Visual Studio</title>
	<atom:link href="http://davybrion.com/blog/category/visual-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://davybrion.com/blog</link>
	<description>Trying to walk that thin line between intelligence and ignorance</description>
	<lastBuildDate>Thu, 29 Jul 2010 20:51:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Very Low Expectations For Visual Studio 2010</title>
		<link>http://davybrion.com/blog/2009/12/very-low-expectations-for-visual-studio-2010/</link>
		<comments>http://davybrion.com/blog/2009/12/very-low-expectations-for-visual-studio-2010/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 18:08:21 +0000</pubDate>
		<dc:creator>Davy Brion</dc:creator>
				<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://davybrion.com/blog/?p=2003</guid>
		<description><![CDATA[Visual Studio 2010 has long been announced as a release where a lot of focus would go to the actual performance of the product. As most of you probably know, Visual Studio 2008 is already quite slow when working with large solutions. I really hoped that Visual Studio 2010 would solve that problem, so i [...]]]></description>
			<content:encoded><![CDATA[<p>Visual Studio 2010 has long been announced as a release where a lot of focus would go to the actual performance of the product.  As most of you probably know, Visual Studio 2008 is already quite slow when working with large solutions.  I really hoped that Visual Studio 2010 would solve that problem, so i was already quite worried when reports first came out that VS 2010 would be using WPF.</p>
<p>I&#8217;ve avoided the beta releases of VS 2010, and whenever i saw someone demo it i cringed when i saw how slow it reacted, even while writing code.  And now i just read <a href="http://blogs.msdn.com/bharry/archive/2009/12/05/anatomy-of-a-performance-problem.aspx">this post</a> from one of the people in charge of Visual Studio 2010.  Reading that post just sends chills down my spine.  While they seem to be actively working on improving the performance of VS 2010, i think it&#8217;s very late in the product cycle for news like this to come out.  With only about 3 months left before the release, i really wonder whether they can still deliver on their promise of a fast Visual Studio, and i certainly hope that late performance improvements don&#8217;t cause any annoying bugs.</p>
<p>Oh well, if it turns out to be a crappy Visual Studio release, we only have to wait 2 or 3 more years before they&#8217;ll fix it, right? Right? Guys?</p>
]]></content:encoded>
			<wfw:commentRss>http://davybrion.com/blog/2009/12/very-low-expectations-for-visual-studio-2010/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Resharper 4.5 Is Out</title>
		<link>http://davybrion.com/blog/2009/04/resharper-45-is-out/</link>
		<comments>http://davybrion.com/blog/2009/04/resharper-45-is-out/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 05:59:00 +0000</pubDate>
		<dc:creator>Davy Brion</dc:creator>
				<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://davybrion.com/blog/?p=1276</guid>
		<description><![CDATA[It&#8217;s finally here&#8230; i&#8217;ve been using the betas for a while now with hardly any issues so this final release should be very solid as well. Most important improvement IMO is the improved performance and reduced memory overhead for large solutions. We all know Visual Studio is pretty slow when it comes to large solutions, [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s finally <a href="http://blogs.jetbrains.com/dotnet/2009/04/resharper-45-released/">here</a>&#8230; i&#8217;ve been using the betas for a while now with hardly any issues so this final release should be very solid as well.  Most important improvement IMO is the improved performance and reduced memory overhead for large solutions.  We all know Visual Studio is pretty slow when it comes to large solutions, and adding Resharper to the mix only makes matters worse (though it still improves your overall productivity a lot no matter what performance penalty is involved).  This release should improve this, and the other new features are pretty good too.  Be sure to check it out <img src='http://davybrion.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://davybrion.com/blog/2009/04/resharper-45-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tired Of Working With Big Visual Studio Solutions?</title>
		<link>http://davybrion.com/blog/2008/12/tired-of-working-with-big-visual-studio-solutions/</link>
		<comments>http://davybrion.com/blog/2008/12/tired-of-working-with-big-visual-studio-solutions/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 00:27:07 +0000</pubDate>
		<dc:creator>Davy Brion</dc:creator>
				<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://davybrion.com/blog/?p=767</guid>
		<description><![CDATA[Ever noticed how Visual Studio can be painfully slow when it comes to working with big solutions? It starts using large amounts of RAM, building the project takes way too long, and with practically every change you make it has to rebuild a lot of the projects in the solution which can waste a tremendous [...]]]></description>
			<content:encoded><![CDATA[<p>Ever noticed how Visual Studio can be painfully slow when it comes to working with big solutions? It starts using large amounts of RAM, building the project takes way too long, and with practically every change you make it has to rebuild a lot of the projects in the solution which can waste a tremendous amount of time if you add it all up.</p>
<p>Consider the following solution:</p>
<p><img src="http://davybrion.com/blog/wp-content/uploads/2008/12/full_solution_tree.png" alt="full_solution_tree" title="full_solution_tree" width="238" height="344" /></p>
<p>Now, i&#8217;m not going to get into the specifics of each project in this solution&#8230; most of these projects were created before i ever got involved with this project, and i&#8217;m not really happy with the entire structure.  It&#8217;s a pretty big application, and a while ago we decided to move to a new architecture.  But since we can&#8217;t just rewrite the whole thing, we put the new stuff (using the new architecture) in the same application and we&#8217;re going to gradually rewrite the old parts using the new architecture.  </p>
<p>I wanted to keep the new stuff completely separated from the old stuff, so i added more projects to it (the EMS.* projects).  Before i added the new projects to the solution, it was already painfully slow to use this solution with Visual Studio.  After adding the new projects, it obviously only got worse.  Since we&#8217;re spending most of our development work in the new projects, i wanted to see if i could simply create a new solution which would contain only the projects we usually need.  That new solution looks like this:</p>
<p><img src="http://davybrion.com/blog/wp-content/uploads/2008/12/smaller_solution_tree.png" alt="smaller_solution_tree" title="smaller_solution_tree" width="267" height="131"  /></p>
<p>Much better&#8230;. but now you&#8217;re probably thinking: doesn&#8217;t CMS.WebApplication reference any of the other projects? It does reference a few of them actually:</p>
<p><img src="http://davybrion.com/blog/wp-content/uploads/2008/12/dependencies.png" alt="dependencies" title="dependencies" width="165" height="134" /></p>
<p>Visual Studio indicates that it can&#8217;t resolve these references.  So this new solution isn&#8217;t usable, right? Well, it is actually.  You just have to make sure that you&#8217;ve done a full build of the entire solution (the one that has all of the projects in it) before you build the small one.  If you use the small solution after you&#8217;ve built the big one, Visual Studio is smart enough to remember where it got those compiled dependencies from in the first place.</p>
<p>So is this really usable? It sure is&#8230; we do most of our work in the smaller solution, and we can modify and recompile as much as we want without problems and without wasting huge amounts of time just waiting for Visual Studio and the compiler.  The only issue we have with this approach is when we need to make changes in some of the older projects that aren&#8217;t in the small solution.  Whenever someone makes a change there that requires a recompile of the CMS.WebApplication project, every teammember needs to recompile the entire big solution.  But to avoid having to load the entire solution in Visual Studio, you can just run the following command in a Visual Studio 2008 Command Prompt:</p>
<p><code><br />
msbuild ems.sln<br />
</code></p>
<p>and it builds the entire solution without using Visual Studio.  After that, your smaller solution will work again.</p>
<p>If you&#8217;re working with big Visual Studio solutions and the slowness of this bothers you, be sure to give this a shot.  You can create as many of these small solutions as you like, depending on which parts of the codebase you typically need to work with.  It can easily save you a lot of time, and avoid unnecessary frustration as well <img src='http://davybrion.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>For new solutions, i think it&#8217;s better to just keep the number of projects to a minimum which i&#8217;ve explained previously <a href="http://davybrion.com/blog/2008/07/many-projects-dont-lead-to-a-good-solution/">here</a></p>
<p><a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fdavybrion.com%2fblog%2f2008%2f12%2ftired-of-working-with-big-visual-studio-solutions%2f"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fdavybrion.com%2fblog%2f2008%2f12%2ftired-of-working-with-big-visual-studio-solutions%2f" border="0" alt="kick it on DotNetKicks.com" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://davybrion.com/blog/2008/12/tired-of-working-with-big-visual-studio-solutions/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>
