• Possible to specify a custom folder for global rules, in the Configurator application.
• Activation dialog in Visual Studio extended with support for specifying global and local rules.
• Selecting global rules automatically links the global rules in solution, without adding any physical files.
• Activation status, i.e. active or inactive, is stored in solution.
• Possible to specify a required suffix for each name rule.
Any previous versions of Code Style Enforcer has to be uninstalled before running setup.
Creating/opening a solution in Visual Studio brings up a dialog where it's possible to select whether to link in the global rules or to add them as local rules in the solution. At the same time it’s possible to select whether to activate Code Style Enforcer for the solution or not. The choices made here are now remembered the next time the solution is opened, I know, pretty revolutionary :).
If selecting "No" on the question to activate Code Style Enforcer, and you later change your mind, it’s still possible to activate CSE through the Context Menu on the Solution. This will bring up the same CSE dialog again making it possible to select global or local rules.
I hope a lot of you will be satisfied with this solution, since it now supports the best from both worlds, i.e. global or local rules for a solution. I have some minor testing to do before releasing this new version, but I will put it up here within a few days!
• Visibility rules settings not saved when changing them in tree view.
• CSE configurator application lost global rule settings for pages not visited.
Besides this bug fix, there are some improvements coming from DXCore 2.2.2, namely experimental support for Visual Studio Codename "Orcas" and improved performance of the C# parser by approximately 30%.
Cruise Control .NET is used for triggering the build when anything changes in the trunk and it also gives you a nice web dashboard with information about the builds. The Cruise Control Tray application is also good enough for instant status about the build process.
For a very nice tutorial about implementing continuous integration with MSBuild scripts and Cruise Control .NET, see this blog post by Carel Lotz from the South African .NET Developer Portal.
Visit the MSBuild Community Tasks Project for a lot of useful MSBuild tasks to include in script.
Hopefully this will increase the speed of Code Style Enforcer releases, which unfortunately has been rather low lately. I have made a small update though, which solves the bug in DXCore 2.2.2, described here.
So for all of those who are using the latest DXCore version, stay put, since there will be a new release this weekend!