Unable to install SharepointPnpCoreOnline package

  • Thread starter Thread starter Andreagx
  • Start date Start date
A

Andreagx

Guest
VS 2019 16.4.5
I need to install SharepointPnpCoreOnline package but VS return this error:


Severity Code Description Project File Line Suppression State
Error Failed to add reference. The package ‘SharePointPnPCoreOnline’ tried to add a framework reference to ‘Microsoft.IdentityModel’ which was not found in the GAC. This is possibly a bug in the package. Please contact the package owners for assistance.
Cannot find assembly ‘Microsoft.IdentityModel’.


PM> Install-Package Microsoft.IdentityModel
Package ‘Microsoft.IdentityModel.7.0.0’ already exists in project xxx
Time Elapsed: 00:00:04.5354675
PM>


Dependencies seems ok
PM> Get-Package -ProjectName


Id Versions ProjectName



AjaxControlToolkit {19.1.0}
AngleSharp {0.13.0}
bootstrap {4.4.1}
jQuery {3.4.1}
Microsoft.AspNet.WebApi.Client {5.2.7}
Microsoft.AspNet.WebApi.Core {5.2.7}
Microsoft.Azure.ActiveDirectory… {2.1.1}
Microsoft.Azure.KeyVault.Core {3.0.5}
Microsoft.Data.Edm {5.8.4}
Microsoft.Data.OData {5.8.4}
Microsoft.Data.Services.Client {5.8.4}
Microsoft.Graph {1.21.0}
Microsoft.Graph.Core {1.20.0}
Microsoft.IdentityModel {7.0.0}
Microsoft.IdentityModel.Clients… {5.2.7}
Microsoft.IdentityModel.JsonWebT… {5.6.0}
Microsoft.IdentityModel.Logging {5.6.0}
Microsoft.IdentityModel.Tokens {5.6.0}
Microsoft.OData.Edm {7.6.3}
Microsoft.Rest.ClientRuntime {2.3.21}
Microsoft.Rest.ClientRuntime.Azure {3.3.19}
Microsoft.SharePointOnline.CSOM {16.1.19724.12000}
Microsoft.Spatial {7.6.3}
Newtonsoft.Json {12.0.3}
popper.js {1.16.1}
SharePointPnP.IdentityModel.Exte… {1.2.4}
System.Buffers {4.5.0}
System.Diagnostics.DiagnosticSource {4.7.0}
System.IdentityModel.Tokens.Jwt {5.6.0}
System.IO {4.3.0}
System.Memory {4.5.3}
System.Net.Http {4.3.4}
System.Numerics.Vectors {4.5.0}
System.Runtime {4.3.1}
System.Runtime.CompilerServices… {4.7.0}
System.Security.Cryptography.Alg… {4.3.1}
System.Security.Cryptography.Enc… {4.3.0}
System.Security.Cryptography.Pri… {4.3.0}
System.Security.Cryptography.X50… {4.3.2}
System.Spatial {5.8.4}
System.Text.Encoding.CodePages {4.7.0}
System.ValueTuple {4.5.0}
WindowsAzure.Storage {9.3.3}


Continue reading...
 
Back
Top