RabbitMQ Namespace after Legacy to Windows migration not availiable

Hello!

I am currently migrating processes to windows.

Certainly I am facing a issue where I am using a custom library. This library is using the RabbitMQ.Client to send messages.

When debugging the process in Studio I don’t get exceptions and the code is working well. When running the same process unattended I get this Errormessage:

" Invoke code - send message: No compiled code to run error CS0246: The type or namespace name ‘RabbitMQ’ could not be found (are you missing a using directive or an assembly reference?) At line 3 error CS0246: The type or namespace name ‘RabbitMQ’ could not be found (are you missing a using directive or an assembly reference?) At line 7 error CS0103: The name ‘RabbitMQ’ does not exist in the current context At line 38 "

Do you have any Ideas how I could fix this issue?

@hannes.goldfuss
have sent you a PM

@hannes.goldfuss

Check in imports panel if the namespace is imported

Cheers

Hi Anil,

as far as i see the Namespace is imported (i did check in the package view in the orchestrator):
image

What makes me wonder is that the process runs in studio but not in orchestrator!

In general the Anaylsis Cascade is

  • Referenced Package Check on what is loaded / resolved
  • import namespace as mentioned by @Anil_G
    • Variation: usage of FullQualified Name
  • XAML check if Assembly is referenced

Maybe you can share with us the Package details. Thanks

Ok, as discussed lets wait for the isolated RnD set

In one scenario (another Package not RabbitMQ…) where a package came with similar references
grafik

we did 1 RnD round with adding the
<AssemblyReference>netstandard</AssemblyReference>

and got it fixed. But only do it on the isolated RnD set