Can't build the Printing.DataGridViewPrint.DotNet2 project

Jul 1, 2008 at 10:19 PM
VS 2005,  SP 2

I open the project, Printing.DataGridViewPrint.DotNet2.sln,  click Build, and get these errors...

Error    8    Argument '1': cannot convert from 'var' to 'System.Windows.Forms.DataGridViewCell'    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    583
Error    10    Argument '1': cannot convert from 'var' to 'System.Windows.Forms.DataGridViewCell'    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    593
Error    14    Argument '1': cannot convert from 'var' to 'System.Windows.Forms.DataGridViewCell'    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    599
Error    16    Argument '1': cannot convert from 'var' to 'System.Windows.Forms.DataGridViewCell'    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    606
Error    18    Argument '1': cannot convert from 'var' to 'System.Windows.Forms.DataGridViewCell'    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    607
Error    19    Cannot create an instance of the abstract class or interface 'Printing.DataGridViewPrint.DotNet2.DocumentMetrics'    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\DocumentMetrics.cs    65
Error    4    Cannot create an instance of the abstract class or interface 'Printing.DataGridViewPrint.DotNet2.Partition'    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    463
Error    3    Cannot create an instance of the abstract class or interface 'Printing.DataGridViewPrint.DotNet2.PartitionBounds'    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    452
Error    2    Cannot implicitly convert type 'var' to 'Printing.DataGridViewPrint.DotNet2.Partition'    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    343
Error    9    The best overloaded method match for 'Printing.DataGridViewPrint.DotNet2.GridHelper.BackColor(System.Windows.Forms.DataGridViewCell)' has some invalid arguments    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    593
Error    15    The best overloaded method match for 'Printing.DataGridViewPrint.DotNet2.GridHelper.Font(System.Windows.Forms.DataGridViewCell, float)' has some invalid arguments    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    606
Error    7    The best overloaded method match for 'Printing.DataGridViewPrint.DotNet2.GridHelper.ForeColor(System.Windows.Forms.DataGridViewCell)' has some invalid arguments    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    583
Error    17    The best overloaded method match for 'Printing.DataGridViewPrint.DotNet2.GridHelper.ForeColor(System.Windows.Forms.DataGridViewCell)' has some invalid arguments    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    607
Error    13    The best overloaded method match for 'Printing.DataGridViewPrint.DotNet2.GridHelper.HorizontalAlignement(System.Windows.Forms.DataGridViewCell)' has some invalid arguments    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    599
Error    1    The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    342
Error    5    The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    528
Error    6    The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    577
Error    11    The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    595
Error    12    The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)    C:\User\MCTechnology\Sample DB Reporter\DataGridView Printer\Printing.DataGridViewPrint.DotNet2\GridDrawer.cs    597