1
Using datamapper to create a DLL (not exe) - Error: The type 'ParameterCollection' is defined in an assembly that is not referenced.
Question asked by Travis Riffle - 3/22/2021 at 2:51 AM
Answered
I'm attempting to reference this the DLL that I generated with DataMapper in C# code.  When I use the GeneratedTransform object to transform my data, I receive the following error.  What else do I need to do to use the DLL I've generated? 
Severity    Code    Description    Project    File    Line    Suppression State
Error    CS0012    The type 'ParameterCollection' is defined in an assembly that is not referenced. You must add a reference to assembly 'LiquidTechnologies.DataMapper.Runtime, Version=19.0.3.10699, Culture=neutral, PublicKeyToken=64bee40f6e1c14f0'.    LiquidDataTransformFuncDemo    C:\Users\TravisRiffle\source\repos\LiquidDataTransformFuncDemo\LiquidDataTransformFuncDemo\Function1.cs    34    Active

2 Replies

Reply to Thread
1
Liquid Support Replied
Employee Post Marked As Answer
Hi,

You need to reference the Data Mapper Runtime which is installed with the product:
C:\Program Files\Liquid Technologies\Liquid Studio 2021\DataMapperRedist\DotNet\LiquidTechnologies.DataMapper.Runtime.dll

and is also available as a Nuget:

0
Travis Riffle Replied
Thanks this worked!

Reply to Thread