ReasoningEngine icon indicating copy to clipboard operation
ReasoningEngine copied to clipboard

*.dll files missing

Open vincentdeman opened this issue 2 years ago • 1 comments

*.dll files seem to be missing when loading REInteractiveAPI/ReLoad.fsx in the Examples/REINDotNetInteractive.ipynb notebook, run in VS Code.

What is run:

#load @"../REInteractiveAPI/ReLoad.fsx"
open ReasoningEngine

The actual files that are called within REInteractiveAPI/ReLoad.fsx are the following:

#r @"bin/Release/netstandard2.0/ReasoningEngine.dll"
#r @"bin/Release/netstandard2.0/REIN.dll"
#r @"bin/Release/netstandard2.0/REInteractiveAPI.dll"

The errors:

Error: c:\Path to local copy of the ReasoningEngine GitHub\ReasoningEngine\REInteractiveAPI\ReLoad.fsx (10,1)-(10,53) parameter error Unable to find the file 'bin/Release/netstandard2.0/ReasoningEngine.dll' in any of ...
Error: c:\Path to local copy of the ReasoningEngine GitHub\ReasoningEngine\REInteractiveAPI\ReLoad.fsx (11,1)-(11,42) parameter error Unable to find the file 'bin/Release/netstandard2.0/REIN.dll' in any of ...
Error: c:\Path to local copy of the ReasoningEngine GitHub\ReasoningEngine\REInteractiveAPI\ReLoad.fsx (12,1)-(12,54) parameter error Unable to find the file 'bin/Release/netstandard2.0/REInteractiveAPI.dll' in any of ...

Machine details:

  • Windows 10
  • VS Code 1.84.2
  • .NET 8

vincentdeman avatar Dec 07 '23 14:12 vincentdeman

Hi @vincentdeman you need to build REInteractiveAPI manually yourself, in Release mode.

Related I've just pushed some fixes on #12 for changes to F# rules since this project was released. With those I was able to build and run the notebook. Hope it works for you too.

https://github.com/fsprojects/ReasoningEngine/tree/pr/8#tool-installation has more instructions, it's currently on a PR though.

Incidentally #3 was proposed to avoid the manual build but is still awaiting a volunteer.

cgravill avatar Dec 11 '23 21:12 cgravill