DllNotFoundException on Windows 11 and Visual Studio 2022 with .net core 6
See original GitHub issueHi
I’m using Windows 11 and created a new Avalonia app using
> dotnet new avalonia.mvvm -o MyApp
And when I start the app using Visual Studio 2022, I get the following error:
System.TypeInitializationException: 'The type initializer for 'SkiaSharp.SKImageInfo' threw an exception.'
Inner Exception
DllNotFoundException: Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found. (0x8007007E)
Here’s the project configuration:
Any suggestions would be appreciated on how to get past this error. Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
IIS asp.net core 6 "DllNotFoundException: Unable to load ...
I am working on asp net core 6 app that uses unmanaged code located on a dll that is in program files x86....
Read more >DllNotFoundException Class (System)
The exception that is thrown when a DLL specified in a DLL import cannot be found. public ref class DllNotFoundException : TypeLoadException. C#...
Read more >Visual Studio 2022 Compatibility
Visual Studio 2022 Platform Targeting and Compatibility. Article; 02/02/2023. Feedback ... Windows 11 S ... NET Core 8.0 Preview, 7.0, 6.0.
Read more >Unable to load DLL "Microsoft.CognitiveServices.Speech. ...
Hi. I have a console application that I made in Visual Studio 2022, using C#, .NET Framework 4.8.1, and the Azure Cognitive Services...
Read more >Visual Studio 2022 assembly and asp.net runtime error
I am trying to code a C# app on asp.net web core. I have installed the .net framework 6.0. my computer is a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@karthitect i’ve solved this issue via
dotnet workload install wasm-tools
When you install this you have to enable it in your .csproj file
Please give me a feedback if it helps you.
That’s what it fixed for me. It’s also mentioned in the docs.