Skip to content

Using CSOM with Pnp Framework 1.18.0 version fails in Visio VSTO Addin if you update the packages suggested by nuget package manager #1139

@MichelLaplane

Description

@MichelLaplane

I have build a Visio VSTO that needs to access a SharePoint site and I was face with a lot of problem.
Using CSOM fails using standard PublicClientApplication.
I then try to use PnP.Framework 1.18.0.0 with success but if I update the nuget packages with the last version of
the dependency, it fails: the logging Windows is not fired anymore.
I have published the Sample in here : https://github.com/MichelLaplane/VisioAddInSharePoint
This app has two features:

  • one is to access to SharePoint online with CSOM (Work with Pnp.Framework 1.18.0.0 (DON'T UPDATE THE DEPENDANT PACKAGE))
  • one is to access Microsoft Graph (always fails with "Microsoft.Identity.Client.MsalClientException: Unable to load DLL 'msalruntime_x86'" error.
    Any suggestions with be very valuables.

I have to add that using a WinForm application works like a charm with the quite same code.
https://github.com/MichelLaplane/WinFormSharePoint.

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions