You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dotnet build succeeds with no warnings or errors but running the application executable or via dotnet run, return the following error:
Unhandled exception. System.TypeLoadException: Could not load type 'Haiku.App.BApplication' from assembly 'haiku, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
Abort
Can you please name the project something other than haiku (case-insensitive)?
I can see in the zip file, there are two different .dlls, a large Haiku.dll (which is what I named in my workload), and a smaller haiku.dll (which is probably what you have recently built). I am not sure; I don't have my development machine right now and can't access a .NET decompiler.
What is happening might be that .NET .dll resolution is case-insensitive to match with Windows platform conventions. Whatever strategy the runtime is using might have found haiku.dll before Haiku.dll, and tried resolving BApplication from there instead.
Good spot! I've renamed it to HaikuApp and it started. I've found some relative old issues around 2020 discussing case sensitivity on file systems like APFS, I'm wondering if that has been solved and the sdk/runtime can be configured for a case-sensitive file system.
dotnet build
succeeds with no warnings or errors but running the application executable or viadotnet run
, return the following error:haiku.zip
Please find attached the project generated out of the template.
The text was updated successfully, but these errors were encountered: