I'm attempting to use a HashSet in a Blue Prism code stage, but it keeps coming up with an error saying that "Type 'HashSet' is not defined". The specific line of code that is generating the error is this:
Dim Values As New System.Collections.Generic.HashSet(Of Object)
I have System.Collections.Generic in the NameSpace imports, and System.Collections.dll in the references list. I'm on Blue Prism version 5.24, which according to System.Environment.Version is using .net framework 4.0. If I take this line of code and slap it in a Visual Studio project targeting framework 4.0, it compiles just fine.
Is there something that I'm missing? I can workaround it by using a Dictionary instead, but I'm curious why this won't compile.
------------------------------
Nicholas Zejdlik
RPA Developer
------------------------------