Forum Discussion
The type or namespace name 'S2S' does not exist in the namespace 'Microsoft.IdentityModel'
- Jan 13, 2017
We now removed the dependency to Microsoft.IdentityModel.Extensions and replaced it with our own, which will be distributed with PnP Core. As of the next release the requirement to install the Office Developer Tools will be gone.
We now removed the dependency to Microsoft.IdentityModel.Extensions and replaced it with our own, which will be distributed with PnP Core. As of the next release the requirement to install the Office Developer Tools will be gone.
Trying to follow sample code within Office Dev Center.
Having the same issue in that the SharepointContextToken; SharepointContextProvider is not recongized. I have added the Microsoft Identy Model and the mentioned SharepointPNP Identy Model Extensions as explained above to my project.
Does the sample code need to change? Its location is here:
- KingduncanJul 03, 2019Copper Contributor
You need to use NuGet in your solution and add Microsoft.Identity.Model.Extension. You can do this from within visual studio starting with 2017. I just did it with 2019 and now the sample app compiles. Hope you found the solution, since you posted this question 2 years ago.