Replies: 2 comments 5 replies
-
Is it caused by the first or the second package reference? It's highly unlikely this is caused by WinUIEx, and more likely it's caused by WindowsAppSDK |
Beta Was this translation helpful? Give feedback.
-
I'm also getting the same error just after adding WinUIEx and Microsoft.WindowsAppSDK packages, in an attempt to solve WebAuthenticator problem in Windows. I can confirm that my MAUI Blazor project is up-to-date (version 7.0.92). Also, to be sure, I just created a fresh project with MAUI Blazor template, compiled and checked that it works. Added package references according to guidelines:
And now I get the same crash as @ataparia EDIT: I just updated to newest MAUI version, 7.0.96, that was released yesterday, and the error does not occur anymore. |
Beta Was this translation helpful? Give feedback.
-
.NET Maui WinUI app fails to deploy after adding the WinUIEx and Microsoft.WindowsAppSDK packages with the following message:
AppxManifest.xml(29,27): error 0x80070002: Cannot install or update package maui-package-name-placeholder_x521x066and8w because the splash screen image [$placeholder$.png] cannot be located. Verify that the package contains an image that can be used as a splash screen for the application, and that the package manifest points to the correct location in the package where this splash screen image can be found.
Same app deploys correctly if I remove the following lines of code from my csproj file:
PackageReference Include="WinUIEx" Version="2.3.0" Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'"
PackageReference Include="Microsoft.WindowsAppSDK" Version="1.4.230822000" Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'"
Beta Was this translation helpful? Give feedback.
All reactions