Compilation errors in script rules
Beginning with version 4.20, Service Virtualization optimized the internal classes used by the C# scripting rule. Several classes were removed and replaced with others. If your existing rules referenced a removed class, it will result in a compilation error when saving the rule or when switching the service to the Simulation state.
Workaround: Replace the original class name with the new one.
The following C# classes were changed beginning with Service Virtualization version 4.20.
| Original class | Replaced with |
|---|---|
| HpsvActivitiesImpl | HpsvActivitiesBase |
| AbstractHpsvContext | HpsvContext |
| HpsvFileLogger | HpsvLogger |
| HpsvMessageLogger | HpsvLogger |

