Структура моего приложения выглядит следующим образом:
- BlazorApp.Client (здесь возникает ошибка)
- BlazorApp.Server
Код: Выделить всё
SelfLog.Enable(msg => Debug.WriteLine(msg));
at (оболочка, управляемая в собственном коде) System.Threading.Monitor .Monitor_wait(object,int)
at System.Threading.Monitor.ObjWait (System.Boolean exitContext, System.Int32 миллисекундыTimeout, System.Object obj) < 0x36c60c8 + 0x00046> в: 0
at System.Threading.Monitor.Wait (System.Object obj, System.Int32 миллисекундыTimeout, System.Boolean exitContext) < 0x36c5de8 + 0x00022> в: 0
Похоже, это проблема в текущей версии Blazor WASm: https://github.com/dotnet/aspnetcore/issues/22400
Код: Выделить всё
Cannot Wait on monitors
Подробнее здесь: https://stackoverflow.com/questions/633 ... -exception