© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
1 reply
Xeinٴٴٴٴٴٴٴ

AssemblyLoadContext Error - .NET 8.0

The issue isn't with the availability of the .dll file—I'm certain it exists in the directory. If you have any questions, feel free to ask.

DLL extracted to: C:\Users\alakbalak123\AppData\Local\Temp\14fbfb7e-804b-4611-b386-e0c3d506c765\d9f6a1cd-4106-4385-9742-e3c1b90375b1.dll
Unhandled exception. System.IO.FileNotFoundException:
File name: 'C:\Users\alakbalak123\AppData\Local\Temp\14fbfb7e-804b-4611-b386-e0c3d506c765\d9f6a1cd-4106-4385-9742-e3c1b90375b1.dll'
   at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, String ilPath, String niPath, ObjectHandleOnStack retAssembly)
   at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
   at Z.ScreenRecorderLibrary.AssemblyResolver..ctor(String path)
   at Z.ScreenRecorderLibrary..ctor()
   at Z.ExternalLibs.LoadExternalLibraries()
   at Program.SelfExtractNativeDlls()
   at Program.Main(String[] args)

                AssemblyLoadContext.Default.LoadFromAssemblyPath(path);
gives me this error on certain machines could it be dependency related
DLL extracted to: C:\Users\alakbalak123\AppData\Local\Temp\14fbfb7e-804b-4611-b386-e0c3d506c765\d9f6a1cd-4106-4385-9742-e3c1b90375b1.dll
Unhandled exception. System.IO.FileNotFoundException:
File name: 'C:\Users\alakbalak123\AppData\Local\Temp\14fbfb7e-804b-4611-b386-e0c3d506c765\d9f6a1cd-4106-4385-9742-e3c1b90375b1.dll'
   at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, String ilPath, String niPath, ObjectHandleOnStack retAssembly)
   at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
   at Z.ScreenRecorderLibrary.AssemblyResolver..ctor(String path)
   at Z.ScreenRecorderLibrary..ctor()
   at Z.ExternalLibs.LoadExternalLibraries()
   at Program.SelfExtractNativeDlls()
   at Program.Main(String[] args)

                AssemblyLoadContext.Default.LoadFromAssemblyPath(path);
gives me this error on certain machines could it be dependency related
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Docker - .NET 8.0 UTF-8 Problem
C#CC# / help
2y ago
❔ Migrate AppDomain (.net framework) to AssemblyLoadContext (.net core)
C#CC# / help
3y ago
Maui .NET 8.0 On macOS
C#CC# / help
2y ago
Maui .NET 8.0 On macOS
C#CC# / help
2y ago