nccgroup/ncccodenavi — pull request #16 by amazingant (2013-04-27 23:22:39+00:00)
Title: Amazingant pullrequest

Few small changes based on what I saw in my first couple runs of the application after building from then-current source:

The project currently lacks a .gitignore file, which in a clean git environment results in all Visual Studio user files (.suo, etc.) and compiled source being marked by git as new files. I added a basic list of such Visual Studio files, a few compiled file extensions and the folders the builds typically live in, and some OS-specific files such as the evil Thumbs.db file in Windows.

The current VersionCheck.cs does a straight string-comparison against the remote copy stored on GitHub, considering the application outdated if the strings do not match. As the current code is marked as 1.1.0.0, and the Version.Check/Version.txt file currently shows 1.0.0.0, the application should not indicate that it is outdated.
My changes remove the string-comparison in favor of a simple regular expression which expects the four-section version numbers currently used and compares against each section; e.g., `1.0.0.0 < 1.1.0.0`, `1.0.9.0 < 1.1.0.0`, `1.23.45.67 < 2.0.0.0`, etc.