pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
985 stars 665 forks source link

Error in PnP Solution PowerShell Deployment #2498

Open hbash2020 opened 4 years ago

hbash2020 commented 4 years ago

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.

ghost commented 4 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.