Share this page

# 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

https://admhelp.microfocus.com Service Virtualization 8942
Tips to improve your search results... Service Virtualization Help Center SV Help 5.4-5.4.1 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: