.NET core client for RO DA service crashes in LinqRemoteDataAdapter

We have a code base which is mostly .NET framework but we have new .NET core applications

We use .NET projects to facilitate RO DA clients that are then project dependencies on the client side.

The .NET projects are targeted for .NET framework 4.7.2
We now use clones of the .NET FW4.7.2 client projects that target .NET core 8 and that use the same sources via reference.

However when using DA the RemObjects code crashes in LinqRemoteDataAdapter for the .NET Core project.

One DataRequestCall parameter (aTableRequestInfoArray) does not have a DataType
See the debug screenshot

Any idea what causes this?
What is an advised way of working with both .NET FW & .NET Core RO clients and .NET FW RO servers.

TIA,
Frederic

image

FYI: It looks like it has to do with the way the RO/DA dependencies are added

This does not work:
image

This works:
image

Hi,

You can’t use .NET FW 4.x packages with .NET Core.

Correct usage: use nuget packages from C:\Program Files (x86)\RemObjects Software\Packages folder. in this case compiler will select correct .dll for your platform

Any idea why I do not see the RO nuget packages?

Note: Using the RO extension adds the RO packages to the project so I have a workaround

Hi,

try to change source:

I don’t understand your suggestion
You can see in my screenshot that
C:\Program Files (x86)\RemObjects Software\Packages
is in the nuget source list.
What should I add/change?

Hi,

I suggest to change nuget.org to RemObjects Software in that combobox:

Damn, I looked over this, it works of course, thanks!

1 Like