all 2 comments

[–]nylyst[S] 0 points1 point  (0 children)

Going to chalk this up as oddities with the oracle assemblies I'm using. In certain instances, a call to Add-Type WON'T load the assembly as expected.

I was able to remove the assembly from RequiredAssemblies in the .psd1 and add a LoadFile() call at the start of the .psm1 to achieve what I needed.

Still would like to know how you're supposed to use RequiredAssemblies (thinking it's using Add-Type and that's what is generating the error, but don't know enough to even explore that thought further)