Most of the CLR error in Ax 2012 can be workaround by applying the following options-
- Remove the check box in the AOS configuration utility for "Enable the hot-swapping of assemblies for each development session".
- Remove the check box in the Ax client - Tools - Option - Development - "Execute business operation in CIL".

