Repository navigation
Crash on start (EntryPointNotFoundException) #490
Description
Activity
@LucaCris Could you provide a minimal repro for this, or a list of the nuget packages you have installed?
This is an error message I've seen when you install
Microsoft.UI.XamlalongsideMicrosoft.WindowsAppSDK, but I can't be sure it's the same repro without more details.Add these to the screenshot above:
CommunityToolkit.Mvvm 8.2.2
CommunityToolkit.WinUI.UI.Controls.DataGrid 7.1.2
CommunityToolkit.WinUI.UI.Controls.Markdown 7.1.2
Microsoft.Windows.SDK.BuildTools 10.0.26100.1
Microsoft.WindowsAppSDK 1.5.240802000@LucaCris I was able to reproduce the issue with the "Blank App, Packaged (WinUI 3 in Desktop)" project template, but only unpackaged, and regardless of whether the toolkit is installed.
Running packaged seems to work fine, unpackaged gives the error message you were seeing. Can you provide more information about your packaging setup?
I see the same issue on my packaged project (with a separate package project).
Reacted by LucaCris and DearainHi,
I have same issue, here a sample app.
App7.zipI have change to target 22621 targetframework but not working for me.
net8.0-windows10.0.22621.0Is there something missing in the projet ?
@giraudremy I looked at your sample project and found the issue, but I do not know how to fix it. The issue is that in the packaging project, the community toolkit nuget package shows a dependency on the winui2 Microsoft.ui.xaml package. This is not the case for the application project itself.
Reacted by optsing@giraudremy I looked at your sample project and found the issue, but I do not know how to fix it. The issue is that in the packaging project, the community toolkit nuget package shows a dependency on the winui2 Microsoft.ui.xaml package. This is not the case for the application project itself.
The idea is to work like 8.0 does, on start... 😉
Hi,
I have added a PackageDependency to WindowsAppRuntime in Package.appxmanifest and now application start :
<Dependencies> <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.22621.0" MaxVersionTested="10.0.22621.0" /> <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.22621.0" MaxVersionTested="10.0.22621.0" /> <PackageDependency Name="Microsoft.WindowsAppRuntime.1.5" MinVersion="1.0.0.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" /> </Dependencies>11 remaining items
It is now time to temporarily remove the update from nuget... 😑
Ah, this is a regression of #220; now that I see the PR, I understand! 😅
- addedbugSomething isn't workingSomething isn't workinglow difficultyA small or trivial change that isn't difficult to complete.A small or trivial change that isn't difficult to complete.regressionWhat was working is now brokeWhat was working is now broke
on Sep 6, 2024 - pinned this issue
on Sep 6, 2024 Shipped a hotfix in v8.1.240916, just pushed to NuGet. Will be merged to main as well shortly.
Reacted by LucaCris
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fields✅ Done


Describe the bug
WinUI 3 App, latest SDK version 1.5.6.
If I perform these updates (also a single one):
I'll get this, just after F5:
Rollback updates and all restart to work perfectly.
Steps to reproduce
Expected behavior
Run as before.
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
net8.0-windows10.0.22621.0
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
2022
Visual Studio Build Number
17.11.1
Device form factor
Desktop
Additional context
No response
Help us help you
No, I'm unable to contribute a solution.