The Brave Programmer - Blogging and coding
Not for the faint hearted
Most read Blog posts
 Most read Blog posts
Minimize
Print  
 

 

<h1>News Feeds (RSS)</h1>
 

News Feeds (RSS)

Minimize

Sun, 14 Mar 2010 07:05:16 -0500

Fri, 12 Mar 2010 19:39:27 -0600

Fri, 12 Mar 2010 16:24:54 -0600

Wed, 10 Mar 2010 00:00:19 -0600

Tue, 09 Mar 2010 05:23:34 -0600

Mon, 08 Mar 2010 14:08:05 -0600

Mon, 08 Mar 2010 05:42:16 -0600

Sun, 07 Mar 2010 05:05:39 -0600

Sat, 06 Mar 2010 14:55:01 -0600

Thu, 04 Mar 2010 18:06:48 -0600

Print  
 
<H1>Blog Posts From The Brave Programmer</H1>
 

Blog Posts From The Brave Programmer

Minimize
Jul13

Written by:Robert Bravery
2009/07/13 09:04 AM 

Over the last couple of weeks and months my Visual Studio 2008 has been dragging its heels. Been running very slowly, especially when switching from code view to design view. It could take up to a minute to actually display anything in the design view. This was getting extremely frustrating to say the least. So I did a little investigation and found a few things that you can do to increase that Visual Studio Speed.

Download SP1 and any Hotfixes. Like any piece of software, keeping up to date is of prime importance. So go to the Microsoft site and Download the hotfix and service pack.

The SP1 can be found here. Remember it is a rather large download for those who are bandwidth challenged. It is more than 800mb.

A particular speed hotfix and details can be found here

Clear out the Cache. You will be amazed as to how much Visual Studio caches websites for faster loading and compiling. But problem is it does not clear it out. There are two folders that can have a huge amount of files and subfolders in it that Visual Studio reads IDE interaction. Some can even have more thatn 10 000 folders listed, I had 1200. Go to these folders and delete all but the most recent named projects that you are working on.

C:\Users\[user name]\AppData\Local\Microsoft\WebSiteCache

C:\Users\[user name]\AppData\Local\Temp\Temporary ASP.NET Files\siteName

Reset un-needed settings. Visual Studio has some cool setting to help enhance the user experience. But often times these are unnecessary and can consume resources and precious CPU cycles. Check out these setting under your options menu:

  1. Turn off validation
  2. Turn off the Navigation Bar
  3. Show Live Semantic Errors
  4. Track changes
  5. Animate environment tools
  6. Compile for the correct platform
  7. Speed up debugging by removing breakpoints
  8. Formatting XML for easy diff

Find out all the details at the original post: Speed up Visual Studio – EPiServer Labs.

Compile for a particular platform. If you are not specifically building apps that are meant for 64 bit or taking advantage of any x64 instructions, then specify the platform that you are building for. If you specify for x86 your program would most likely also sun under x64, but also compile faster.

Go to your configurations manager and enter a specific platform. I used x86. If you do program for the x64 platform then you can enter a separate configuration for that and then be specific when you compile, choosing which platform to compile for.

I hope this helps. If you have made all or any of these changes and have seen some improvement, please drop us a comment and let us know. It would be great for others to see that this works.

pimp it
Tags:
blog comments powered by Disqus
 
Blog Updates Via E-mail
 Blog Updates Via E-mail
Minimize

Do you want to receive blog updates via e-mail. Then just click on the link below. You will be redirected to Google's feed burner, where you can fill out a form. Supplying your e-mail address.

The subscription is managed entirely by Google's Feedburner. We cannot and do not collect your email address.

Subscribe to The Brave Programmer by Email

Print  
 
Contact Us Now
 Contact Us Now
Minimize
 

Email  us now or call us on 082-413-1420,  to host your website.

We design and develop websites. We develop websites that make a difference. We do Dotnetnuke Module development.

Grab The Bookmarketer For Your Site

Web Masters Around The World
Power By Ringsurf
Print