Version conflict in AspNetCore
In my case I had updated one of my projects to use Microsoft.Extensions.Identity v3.0 and this was causing the error - Version conflict detected for Microsoft.AspNetCore.Cryptography.Internal. Not very intuitive error message but rolling the referenced project back to Microsoft.Extensions.Identity 2.2 fixed the issue.
The reason this happens is that your locally installed Microsoft.AspNetCore.App is of version 2.1.0 and not 2.1.1.
To update that you need to install the latest sdk/runtime.
You can find that on https://dot.net
Just go to Downloads and download the 2.1 SDK (v2.1.301) which includes latest 2.1.1 runtime.
I hope that helps!