Check out the background compiler in VB.net
http://msdn.microsoft.com/vstudio/default.aspx?pull=/msdnmag/issues/05/06/advancedbasics/default.aspx