Author Archives:

Static Code Analysis for XNA Applications Part 4: Automatic Build Checking

Hidden in the code that I uploaded to the CodePlex in our last post was a technique for doing automatic checking on a build. I wanted to share a little about that technique. Thus far we have been using the GUI version of FxCop. While a great tool for browsing the results, it is not [...]

OvidEast @ CodePlex

I’ve set up my source code repository at CodePlex. The source code I’ve written so far is a version of an XNA webblog staple: the frame rate counter component. I’m going to go about it a little differently. Starting with TehOne’s frame rate component, (and nifty activation handler base classes,) I cooked up something new. [...]

Static Code Analysis for XNA Applications Part 3: Suppressing Messages

In the previous post, we examined how spelling related FxCop messages could be handled by using a custom dictionary file. In this post, we’ll look at the techniques for dealing with other messages that we do not intend to change code to resolve. In working with some code recently, I was working my way through [...]

Free .NET Performance Guide

Microsoft has recently released “Improving .NET Application Performance and Scalability.” The guide covers many of the .NET applications, such as ASP.Net, ADO.Net, XML, and others. But it also covers many topics relevant to XNA programming. Best of all, you can read it online or download it as a pdf. In my first read, I found [...]

Static Code Analysis for XNA Applications Part 2: Spelling

In the first post in this series, we introduced FxCop a .NET static code analysis tool. We ran the GUI version of FxCop, and applied it to a simple XNA application. Now that we’ve got the basics, this tutorial will show you how to start up the spell checker for your source code. We’re going [...]

Setbacks Galore

The second post on the ole blog was supposed to be all about FxCop’s spell checking facility. It was also supposed to be posted last week. Why the delay? I was doublely foo-bar’d: My notebook’s ancient ATI Radeon Mobility 7500C doesn’t meet the XNA minimum bar. Thus, I can only run XNA apps on my [...]

Static Code Analysis for XNA Applications

This tutorial assumes familiarity with the .NET Framework, C#, Visual C# 2005 Express Edition, and XNA. There are many tools for making better software. One of the more recent innovations in software development tools is the idea of static code analysis. A program examines the source or object code of another program looking for potential [...]

Follow

Get every new post delivered to your Inbox.