Wednesday, November 12, 2008, 08:37 PM - Code Style EnforcerThe new Code Style Enforcer version is 2.2.10.
• Settings file and default location for custom rules is changed to the user's documents folder. UAC should no longer be an issue.
• Rules are now only enforced for C# and VB projects/documents.
• Possible to activate/deactivate Code Style Enforcer for each individual project in a solution.
• Method parameters are now checked for violations again.
• Implicit and explicit cast operators no longer report invalid violations.
Friday, September 26, 2008, 01:20 PM - Code Style EnforcerIt's been way to long since I released a new version of Code Style Enforcer, but now I've finally took the time to get back into the code.
A new version can be expected really soon, it will mainly contain some fixes for reported bugs, e.g. invalid violations reported for implicit and explicit cast operators, and similar things.
I'm also going to have a look at the UAC issue and change where settings and rules are stored, since now it happens below the Program Files folder, which is no good.
Tuesday, September 23, 2008, 04:57 PM - Code Style EnforcerToday when I got back home from work I saw that Avast updated its virus definitions, so now it doesn't report a virus/worm anymore.
I must say that Avast took this false positive very seriously, since they fixed it within 24 hours.
Monday, September 22, 2008, 06:39 PM - Code Style EnforcerA couple of users have reported that Avast reports a virus/worm in the Code Style Enforcer zip file, or in the setup.exe to be more precise.
This seems to be a false positive, based on the following reasons.
I've scanned my computer without any viruses being found, but as soon as I build the installation in Visual Studio, Avast reports a worm in the setup.exe.
I've uploaded the setup.exe to Virus Total, see report, where 2 out of 35 virus scanners reports a possible worm.
I've now sent the setup.exe file to the Avast team, in order for them to verify that it indeed is a false positive, so that they can update their virus definitions for the future.
Wednesday, March 26, 2008, 07:15 PM - Code Style EnforcerBesides support for Visual Studio 2008, heavy optimizations have been made to the code rule violations engine. DXCore 3.0.5+ is now required for Code Style Enforcer, since DXCore 2.5+ didn’t work well with code analysis in background threads.
So What's New?
• Support for Visual Studio 2008.
• Optimizations of the code rule validation engine, which now utilizes background threads and incremental parsing.
• Rules were not always loaded when opening a solution in Visual Studio 2008.
• Context menus in code editor and on solution item didn't show.
• Name refactoring didn't work in Visual Studio 2008.
• bool.TryParse(stringValue, out boolValue) no longer reports a name violation (fix in DXCore 3.0).
• Steps taken to assure that the MSI setup works with UAC in Vista, according to this blog post
• Code Style Enforcer doesn't work well when UAC is turned on in Windows Vista, but for how long can you stand it anyway :).
Please send me feedback and comments about this new version, especially about the optimizations to the code rule violations engine, since it might have introduced a bug or two.