PnP Core and Method not found

Hi there,
I am implementing some Dynamo nodes to interact with SharePoint.
I am currently using the PnP Core library; the problem is that I have this error when I set the HostService.
image_2023-08-28_12-37-58

If I set the HostService when Dynamo is loading, the Host is null.
This is how the host is implemented, nothing different from how the PnP documentation suggests.

From some research, the error could be caused by old Dlls versions.

Any ideas? Or suggestions?
Thanks!

It seems a dlls problem, which ends with these levels of incompatibility.
A version of 7 or higher is necessary for PnP to function properly. However, Revit only uses version 3.1

Could you please provide some guidance on which solution would be best to use?

@jacob.small or @john_pierson do you have any suggestions?

The learn something new link on ‘how to use two versions of the same DLL in the same project’ would be the method I would try.

The problem was Microsoft.Extension.Host version 7 instead of version 2.2.0 due to the PnP.Core targetting standard using Microsoft.Extensions.Configuration.Binder 2.2.0.

This looks great, will you set up the nodes so that they can be used in other applications than Revit, such as Civil 3D?

Hi @patrick.ericson
I finished developing the first two nodes to download files and folders from SharePoint, working both for Revit and Civil.
The next step will be to bring a bit of these functionalities.