as a workaround, create .NET Framework host and import your Delphi interface to it. You can use generated file with your .NET Core host
An acceptable workaround, but there appears to be something wrong with the installer - maybe this is related to the .NET Core problem.
When I used the menu in VS2022 and select my .PAS file, it throws this error:
System.IO.FileNotFoundException: Could not load file or assembly ‘Echoes, Version=12.0.0.2942, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098’ or one of its dependencies. The system cannot find the file specified.
File name: ‘Echoes, Version=12.0.0.2942, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098’
at RemObjects.Hydra.CodeGen.CGCSharpCodeGenerator…ctor()
at RemObjects.Hydra.IDE.VisualStudio.IDEIntegrationService.GetCodeGenerator(Project project)
at RemObjects.Hydra.IDE.VisualStudio.PluginImporter.GenerateSourceCode(CGCodeUnit unit)
at RemObjects.Hydra.IDE.VisualStudio.PluginImporter.Import(String filename)
VS suggested enabling logging and when I did it, it gave me this
=== Pre-bind state information ===
LOG: DisplayName = Echoes, Version=12.0.0.2942, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098
(Fully-specified)
LOG: Appbase = file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/
LOG: Initial PrivatePath = NULL
Calling assembly : Silver, Version=12.0.0.2942, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098.
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: C:\Users\miket\AppData\Local\Microsoft\VisualStudio\17.0_b20436ea\devenv.exe.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Echoes, Version=12.0.0.2942, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Echoes.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Echoes/Echoes.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Echoes.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Echoes/Echoes.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Echoes.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Echoes/Echoes.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Echoes.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Echoes/Echoes.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Echoes.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Echoes/Echoes.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Echoes.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Echoes/Echoes.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Echoes.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Echoes/Echoes.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Echoes.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Echoes/Echoes.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Echoes.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Echoes/Echoes.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Echoes.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Echoes/Echoes.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Echoes.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Echoes/Echoes.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Echoes.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Echoes/Echoes.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Echoes.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Echoes/Echoes.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Echoes.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Echoes/Echoes.EXE.
LOG: Attempting download of new URL file:///c:/program files/microsoft visual studio/2022/professional/common7/ide/extensions/remobjects software/hydra/1.0/Echoes.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Major Version
LOG: Attempting download of new URL file:///c:/program files/microsoft visual studio/2022/professional/common7/ide/extensions/remobjects software/hydra/1.0/Echoes/Echoes.DLL.
LOG: Attempting download of new URL file:///c:/program files/microsoft visual studio/2022/professional/common7/ide/extensions/remobjects software/hydra/1.0/Echoes.EXE.
LOG: Attempting download of new URL file:///c:/program files/microsoft visual studio/2022/professional/common7/ide/extensions/remobjects software/hydra/1.0/Echoes/Echoes.EXE.
I’m guessing the key takeaway from the above text is:
WRN: Comparing the assembly name resulted in the mismatch: Major Version
Looking on my machine I found a plethora of various version of Echoes.dll. Note that one of them is a year newer than the others. Thinking it was related to having either an old trial version or old remoting SDK, I uninstalled everything, deleted everything in Program Files (x86)\RemObjects Software and reinstalled just Hydra, clean. The clean install resulted in multiple different versions of Echoes.DLL again, picture attached below.
The version I installed seems to be 6.7.0.1345, and the two DLL version are 11.0.0.2846 and 11.0.0.2770.