Hydra 6.6 for netcoreapp3.1

Hello,

we have the Hydra in version 6.6.0.1297.
I tried to create a project in Visual Studio based on the documentation for WPF Visual Plugins (.NET 5+).
If I specify ‘net6.0-windows’ as Target Framework, everything works fine, but I want to build the project for ‘netcoreapp3.1’.
I get the following errors:

*error CS1705: Assembly ‘RemObjects.Hydra.WPF’ with identity ‘RemObjects.Hydra.WPF, Version=6.6.0.1297, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098’ *
*uses ‘System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ *
*which has a higher version than referenced assembly ‘System.Runtime’ *
with identity ‘System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’

*error CS1705: Assembly ‘RemObjects.Hydra’ with identity ‘RemObjects.Hydra, Version=6.6.0.1297, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098’ *
*uses ‘System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ *
*which has a higher version than referenced assembly ‘System.ComponentModel.Primitives’ *
with identity ‘System.ComponentModel.Primitives, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’

*error CS1705: Assembly ‘RemObjects.Hydra’ with identity ‘RemObjects.Hydra, Version=6.6.0.1297, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098’ *
*uses ‘System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ *
*which has a higher version than referenced assembly ‘System.Runtime’ *
with identity ‘System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’

What should I do?

Thanks.

Hi,

try to rebuild Hydra manually for netcoreapp3.1.
For this:

  • Generate a cryptographic key pair using commands:
sn -k RemObjectsSoftware
sn -i RemObjectsSoftware RemObjectsSoftware

sn here is the .NET Framework Strong Name Utility.

  • Open the RemObjects Hydra.Core.sln solution file in Visual Studio.
  • Make the source code changes you need.
  • Rebuild the solution.
  • Reference self-built Hydra assemblies. Note that Copy Local property for these references should be set to true. Also please take in account that self-build assemblies don’t provide full design-time support.