Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: class not defined error

0
0
hi,

So I have this VB script:
productOverride = New ProductValueOverride
productOverride.NewValue = 2
productOverride.ProductId = 24
And I am getting a 'Class not defined: ProductValueOverride'. But I put a break point right before executing the script and looking at the field 'hostItemMap' and the class is there with the exact same spelling.

Any ideas on what can be wrong?
Is there a different syntax to instantiate clr classes?

Viewing all articles
Browse latest Browse all 2297


Latest Images