Это вызывает проблему в Startup.cs:
services.AddIdentityServer () .AddDeveloperSigningCredential ()
Я пытался вручную вставить папку tempkey.rsa , но это не решает проблему.
Посоветуйте, пожалуйста, как решить эту проблему?
FileNotFoundException: Не удалось найти файл 'D: \ home \ site \ wwwroot \ tempkey.rsa. System.IO.FileStream.OpenHandle (режим FileMode, общий доступ к FileShare, параметры FileOptions)
FileNotFoundException: Could not find file 'D:\home\site\wwwroot\tempkey.rsa'.
System.IO.FileStream.OpenHandle (режим FileMode, общий доступ к FileShare, параметры FileOptions) System.IO.FileStream .. ctor (путь строки, режим FileMode, доступ к FileAccess, общий доступ к FileShare, параметры int bufferSize, FileOptions) System.IO.StreamWriter..ctor (путь строки, приложение bool, кодировка кодирования, int bufferSize) System.IO.StreamWriter..ctor ( путь к файлу) System.IO.File.WriteAllText (путь к строке, содержимое строки) .Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices (службы IServiceCollection) ) Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication ()