Category Archives: Tools

Posts related to third-party and Microsoft tools, such as NUnit and Part Cover.NET

Installing XNA Game Studio for Windows XP 32-Bit

Looking for the 32-bit version of XNA Game Studio’s installer for Windows XP? Look no further — we have links here, both from the horse’s mouth (Microsoft’s MSDN) and from Travis Gockel. Continue reading

Posted in Tools | Tagged , , | Leave a comment

Mixed Assembly Mode Error with .NET 4.0, SQLite, NUnit, and PartCover

You may receive a “mixed mode assembly” error when trying to use .NET 4.0 with SQLite. Worse, this error occurs when you run NUnit tests and PartCover. The same solution of App.Config to allow loading the old assemblies can also be applied to NUnit and PartCover to resolve this assembly-loading issue. Continue reading

Posted in Tools, Wndows Forms | Tagged , , , | 1 Comment

Unit Testing and Code-Coverage in Silverlight

You can run unit-testing and code-coverage on Silverlight applications (NUnit, PartCover, et all) with a bit of foresight and reorganization of your code. You can test core logic and classes, albeit not Silverlight-specific code. I show you how. Continue reading

Posted in Core .NET, Silverlight, Tools | Tagged , , , | 1 Comment

SQLite + ADO.NET + C# 4.0

C# 4.0 and SQLite ADO.NET don’t play together so well. You might get some crazy exception about the mixed mode assembly version can’t be loaded without configuration. Then, you’re flying! Continue reading

Posted in Libraries, Tools, Wndows Forms | Tagged , , , , , | 9 Comments

Free GUI Database Tool For Web Developer and Sql Server 2008 Express

Is there a free, GUI database management tool for Visual Web Developer 2008 Express and SQL Server 2008 Express? There is; surprisingly, Visual Studio comes with built-in functionality to create and manage your database; just add a new database to App_Data and you can double-click and start adding tables, views, data, etc. Continue reading

Posted in Tools, Web | Tagged , | Leave a comment

PartCover Rules, Methods, and Lambda Expressions

PartCover rules don’t allow you to specify method names, only classes. Using lambda expressions creates classes with names like __DisplayClass* under the hood, because they’re really anonymous delegates. Continue reading

Posted in Tools, Wndows Forms | Tagged , | Leave a comment

Using PartCover and NUnit for Code-Coverage

If NCover is out of your price-range, you can use an open-source code-coverage tool for .NET called PartCover. Although the settings are a bit mysterious, we walk you through the process of running NUnit tests through PartCover to generate code-coverage results for your project. Continue reading

Posted in Tools, Wndows Forms | Tagged , , | 4 Comments