Showing posts with label CodeRush. Show all posts
Showing posts with label CodeRush. Show all posts

12 September 2011

Pex & Moles CodeRush Templates Version 1.1

Download Mike's updated CodeRush templates, here:  http://bit.ly/nj1hMy

What's new in Mike's CodeRush Templates v. 1.1:
  • New Templates
    • aiot = Assert.IsInstanceOfType(object value, Type expectedType)
    • ainot = Assert.IsNotInstanceOfType(object value, Type expectedType)
  • Updates
    • [mt - automatically inserts type of object on clipboard
    • [hm[ma[mt[pm - Now suppress insertion of an extra ] character at end of the line
    • tm and tmm - Removed marker in the Arrange section
    • tmm - Now inserts [HostType("Moles")] above [TestMethod()], for template consolidation reasons
    • Updated field information box content, in several templates

11 August 2011

How to Clear DevExpress CodeRush Assembly and Solution Cache

My employer has been wrestling with a juggernaut-class ASP.NET application, complete with an intermediary framework, that is a port of the soon-to-be-retired mainframe.  This is a colossal, 4GB monster with procedural C# files, frequently exceeding 30,000 lines.  Needless to say, CodeRush gets pretty busy, when we get a new revision from the external conversion company, every 2 weeks.

With 25GB of cache data, CodeRush really starts to drag down performance; WAY more cache data than most developers dreamed of.  Blowing the cobwebs out of DevExpress CodeRush cache every month or two helps keep things humming along nicely, around the office.

There are a few ways to clear out the assembly cache and solution cache: