我正在尝试搭建.NET身份文件,如下所示: https://docs.microsoft.com/en-us/aspnet/core/security/authentication/scaffold-identityfollowing frameworks were found:
3.1.10 at [/usr/share/dotnet/shared/Microsoft.NETCore.App] 我已经安装了.NET5
我使用ASP.NET5模板创建了一个新的Web项目。我希望使用System.Security.Cryptography.RandomNumberGenerator生成随机数,但在.NET平台5.4中没有它(见屏幕快照)。
Error CS0246 The type or namespace name 'RandomNumberGenerator' could not be found (are you missing'RandomNumberGenerator' do