Wednesday, November 14, 2007

Decrease visual studio build time

Mark folders as hidden

This post tells you to mark folders as "Hidden" if you don't want visual studio to compile them.

Close toolbox, turn of animation, etc.
More tips

  • Remove the toolbox tab from your workspace

  • Turn off window animation by unchecking the box found under Tools … Options … Environment … General … Animate Environment

  • Disable startup page : Tools … Options … Environment … Startup

  • Disable virus checking on code directories.

  • Check for spyware

  • Remove the properties tab


Switch from a web site project to a web application project

  • Switch from a web site project to a web application project

  • Keep the number of files in /app_code small

  • Enable page level building for your web-site projects (Project-Properties-Build = Build Page, Project-Properties-Build Solution Action = unchecked)


Make sure all your projects reference the same version of references

  • If you have two projects in your solution, one of which references version 1.0 of a dll, and the other references 1.01, you can have problems

Tuesday, November 13, 2007

Cascading style sheets

I can never remember how cascading style sheets work. Usually, I find sample code on the web site I'm working on, and then mofidy it. So I don't forget, here's a style. A really ugly one, but still a style.

p {
font-family: arial;
color=red;
background-color=blue;
}

Lots of examples at w3schools.