InvalidOperationException: Cannot find compilation library location for package 'System.Security.Cryptography.Pkcs' – Asp.net
Just upgraded a web project to .NET 6.0. Project compiles but when I run the site I get the following error: InvalidOperationException: Cannot find compilation library location for package 'System.Security.Cryptography'. I am using MiniProfiler.AspNetCore.Mvc 4.2.2. For debugging, I added NuGet…