However, when we compile the solution after replacing the package, we get another error that 'SecurityTokenException' class is not available (in SharePointContext.cs file). This error can be easily fixed by replacing 'SecurityTokenException' with 'SecurityTokenExpiredException'
Tuesday, May 5, 2020
Package 'AppForSharePoint16WebToolkit.4.0.0' is not found on source 'https://api.nuget.org/v3/index.json'.
For some reason, when we create a new sharepoint provider hosted app in visual studio it adds a reference to the package 'AppForSharePoint16WebToolkit.4.0.0'. This package is no longer available on nuget and the latest stable version is 'AppForSharePoint16WebToolkit.3.1.5'. So to rectify this error we need to uninstall this package and reinstall the available version which is fairly straightforward.
Subscribe to:
Post Comments (Atom)
c# httpclient The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
If we get this error while trying to get http reponse using HttpClient object, it could mean that certificate validation fails for the remo...
-
Responsive design http://webdesignerwall.com/tutorials/5-useful-css-tricks-for-responsive-design http://palantir.net/blog/responsive-de...
-
SharePoint has a great feature to set terms which can be used to tag contents and enable terms based navigation and several other interesti...
-
After cloning a git repo of dot net framework website and trying to run it all I could see was this error Turns out the fix was to simply e...
No comments:
Post a Comment