New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DllNotFoundException thrown with Preview 5 [Bug] #1365
Comments
I'd like to add that there was a WinUI (package) project which was used to run Blazor (not like it really did for me). Now with updated template it is missing. In my case program simple fails with COMException (0x80040154) - (0x80040154 (REGDB_E_CLASSNOTREG)). When running project from VisualStudio I get: |
|
@Fabi Thank you. |
Please make sure you follow the latest steps here to install all the requirements: https://github.com/dotnet/maui/wiki/Getting-Started Most requirements are installed by the |
Description
Running a new .NET MAUI App project (dotnet new maui -n MauiFive) created in Visual Studio 2019 Preview 2 with Maui Preview 5 throws a System.DllNotFoundException with a message of "Unable to load DLL 'Microsoft.Graphics.Canvas.Text.dll' or one of its dependencies: The specified module could not be found." I will attach the call stack (CallStack.txt).
Additionally, I am observing warning icons over the SDK portion of the WinUI Dependencies in the Solution Explorer (see screenshot).
Steps to Reproduce
dotnet new maui -n MauiFive
Expected Behavior
No exception is thrown and the screen renders correctly.
Actual Behavior
Aforementioned exception is thrown and the screen is a blank purple one which will correctly render when resized as indicated in #1362
Basic Information
Windows 10 Enterprise; Version 20H2; OS Build 19042.985
Screenshots
Uncertain if related, but here is the screenshot of the warning icons in Solution Explorer:
Workaround
Ignore the exception, allow the blank screen to render and then resize the window, similar to #1362.
Additional Attachments
CallStack.txt
The text was updated successfully, but these errors were encountered: