I open PowerShell IDE and execute the following:
Import-Module 'C:\users\myuser\ShareFile\My Files & Folders\My Documents\PowerShell\Modules\SharePointPnPPowerShellCore\SharePointPnP.PowerShell.Core.dll'
This errors with the following:
Import-Module : Could not load file or assembly 'netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file
specified.
After much pain, I have built the DLL for PnP PowerShell (I think). The solution builds with no errors and generates the file:
C:\somefolder\GITHub\PnP-PowerShell\Commands\bin\DebugCore\SharePointPnP.PowerShell.Core.dll
I open PowerShell IDE and execute the following: Import-Module 'C:\users\myuser\ShareFile\My Files & Folders\My Documents\PowerShell\Modules\SharePointPnPPowerShellCore\SharePointPnP.PowerShell.Core.dll'
This errors with the following:
Import-Module : Could not load file or assembly 'netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.