ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

OmniView intergration with automic.dll (v12.1) results in Error: Error CS0234 The type or namespace name 'uc4' does not exist in the namespace 'com' (are you missing an assembly reference?)

book

Article ID: 87347

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
Error CS0234 The type or namespace name 'uc4' does not exist in the namespace 'com' (are you missing an assembly reference?)

When integrating the automic.dll to OmniView in v12.1 the following error may appear:

<Please see attached file for image>

0EMb0000001FZWM.png
Error CS0234 The type or namespace name 'uc4' does not exist in the namespace 'com' (are you missing an assembly reference?)


Investigation:
The new .dll is referenced and the namespace 'sun' is available as well. When using the automic.dll from v12 this works properly.

<Please see attached file for image>

0EMb0000001FZWW.png


Please refer to the solution in order to integrate the automic.dll
 

Cause

Cause type:
Other
Root Cause: The namespace did not change but we changed the java compiler level in 12.1 to Java 8
The build process uses an old IKVM compiler that does not support Java 8.

Environment

Release: AUTWAB99000-12.0-Automic Workload Automation-Base Edition
Component:

Resolution

Download IKVM from http://weblog.ikvm.net/2015/08/26/IKVMNET81ReleaseCandidate0.aspx and create the automic.dll from the uc4.jar:
ikvmc -target:library -out:automic.dll uc4.jar

Please do not forget that the referenced IKVM libraries need to be changed in the project.
 

Fix Status: No Fix

Fix Version(s):
n/a

Additional Information

Workaround :
n/a

Attachments

1558693129668000087347_sktwi1f5rjvs16m3e.png get_app
1558693127785000087347_sktwi1f5rjvs16m3d.png get_app