If I use Nuget "Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="5.0.0" with .Net 5.0 blazor webassembly in VS 2019 Version 16.8.2 I get the following error on clean: NETSDK1082 There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'.
I created a brand new blazor webassembly .Net 5.0 project. The issue occurs when I include an openidconnect reference, but disappears if I delete that reference.