Closed jnm2 closed 4 years ago
Hey, @jnm2, thanks for getting in touch. I am trying to reproduce this issue. Could you please share when this Exception appears. I mean how do you use SDK in the moment crash appears. For now, I tried to create a simple WPF application with the same dependencies and settings and it launches correctly.
Also, could you please enable verbose logs, to get more details of the exception reason. For that please add line AppCenter.LogLevel = LogLevel.Verbose
before AppCenter.Start
.
Hi, we haven't heard from you in a while so I'm closing this issue. Please reopen/comment if you have more questions or run into this again.
Sorry about that. I haven't been able to reproduce the crash.
Hi, Not sure if it helps but I just experienced the same crash with my program. I am using Dotnet 5.0 WPF with PublishSingleFile and PublishTrimmed.
Crash log:
Package: UPSIM.UI.WPF
Version: 2020.12.8.0
OS: WINDOWS
Windows: 10.0.19042
Date: 2020-12-15T18:42:33.0872867Z
Exception Stack:
System.DllNotFoundException: Dll was not found.
at __std_type_info_destroy_list(__type_info_node* )
at __scrt_uninitialize_type_info()
at _app_exit_callback()
at <CrtImplementationDetails>.LanguageSupport.DomainUnload(Object A_0, EventArgs A_1)
at <CrtImplementationDetails>.ModuleUninitializer.SingletonDomainUnload(Object source, EventArgs arguments)
at System.AppContext.OnProcessExit()
I am not able to reproduce this issue either.
Hi! Could you please share additional information about this issue? Could you please enable verbose logs and share reproducing steps? Unfortunately, we can't reproduce this issue on our side and any other additional information will be helpful to investigate this.
Hi Anastasia, Sorry but this issue happened on a client computer and I am not able to reproduce it locally. I just copied the crash log in case it would help. It is not critical at all.
What is weird is the crash happened 25 hours after the user closed the program... 🤨
I'm not sure how I would begin to repro this. FileNotFoundException and DllNotFoundException showed up with no exception message and only Microsoft code on the call stack:
Details
.NET Core 3.1 WPF with PublishSingleFile and PublishTrimmed. Csproj contents: