• Workaround due to a bug in DXCore, which made Visual Studio crash when interhiting yourself, i.e. same sub class as base class.
• Installation now reports an informative message if DXCore is not installed, instead of "Object reference not set to an instance of an object".
If you know any more bugs, please let me know, and I might be able to fix them for this upcoming release.
Unfortunately I've not had enough time during my vacation to look more into the implementation of having multiple name rules for the same code type but with different visibilities or keywoards, e.g. public fields and private fields. But I don't think it will introduce to much problems for me, so I think there might be a first version out within a couple of weeks.
In order to get the default rule standards for the new code types, make sure to press the default button in the global "Configurator" application, for globally linked rules. For locally linked rules, press the default button in DevExpress menu --> Options --> Code Standard, for locally added rules.
• New name rules added for enumeration, enumeration value, delegate, attribute and exception.
• New visibility rules added for enumeration, delegate, attribute and exception.
• Rule files no longer opened in code editor when activating CSE.
Where are all backups when you need them, well I will try to get all data back and have the server up and running again as soon as possible, but it will have to wait until I'm back from my two weeks of vacation in USA. Unfortunately this means that the version to be released this week will also be delayed until then...
I´ll let you all know as soon as everything is back to normal, until then enjoy the summer, cause I certainly will!
Besides from more rules for new code types, it will be possible to combine code types with visibility and keyword. Different name rules for public fields and private fields, for example, are therefore supported. The keywords, e.g. static, abstract, virtual and sealed makes it possible to add different name rules for static classes and instance classes, or different visibility rules for that matter. This will of course take some more time to implement, but the work has already begun. My guess is that it will be released sometime in week 33, since I’m now on vacation and will be going to New York for two weeks.
I hope you’ll like this extra granularity when it comes to rules, since a lot of you have requested it.
• 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.