MicrosoftDX / AuthBot

General authentication/authorization Bot Framework sample
MIT License
82 stars 54 forks source link

Not compatible with Microsoft.Identity.Client 1.1.0-preview #40

Closed LTsLlama closed 7 years ago

LTsLlama commented 7 years ago

When updating to Microsoft.Identity.Client" Version="1.1.0-preview the below error occurs. Error CS0509 'InMemoryTokenCacheMSAL': cannot derive from sealed type 'TokenCache'

What is the best way to fix?

LTsLlama commented 7 years ago

@matvelloso any plans to update Microsoft.Identity.Client to 1.1.0-preview? If not can you point me on how to resolve above? Thank you.

LTsLlama commented 7 years ago

I resolved this by referencing Microsoft.Identity.Client.TokenCache directly instead of using the wrapper.