That's a bug in 2.6. Please upgrade to 2.6.1
Project does not compile after update of thinktecture.identitymodel 2.6
-
30-05-2022 - |
문제
I have updated my project yesterday with IdentityModel 2.6, and I can't find why it does not compile anymore with this error.
error ASPRUNTIME : The pre-application start initialization method Start on type
Thinktecture.IdentityModel.Web.Configuration.AppStart threw an exception with the
following error message: Value cannot be null.
I have just updated the package, no code change.
EDIT: The problem comes from missing web.config section described here http://brockallen.com/2013/05/28/configuration-for-wif-session-helper-apis-in-thinktecture-identitymodel/
This seems mandatory and all attributes must be filled otherwise it throws... sessionTokenCacheType for exemple must be filled...
It would be great to have more information on this.
TIA
해결책
다른 팁
This was a bug and has been fixed in 2.6.1. Update from NuGet again. Sorry for the inconvenience.
제휴하지 않습니다 StackOverflow