-
Notifications
You must be signed in to change notification settings - Fork 74
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
Crash on start (EntryPointNotFoundException) #490
Comments
@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 |
Add these to the screenshot above: CommunityToolkit.Mvvm 8.2.2 |
@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). |
Hi, I have same issue, here a sample app. I have change to target 22621 targetframework but not working for me. Is 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. |
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 :
|
One possibility to workaround this issue is to add |
I have the same issue.
Rolling back to the previous version of CommunityToolkit.WinUI.Animations The above suggestion regarding EDIT: It seems that any |
@MagnusJohansson Do you have a repro project? I used the following steps and cannot reproduce this issue: -Create a new packaged winui app in Visual Studio Adding the |
@lhak Sorry, I misspoke, the problem only occurs when using a separate packaging project. Here's a reproducible solution: The previous Nuget package (v8.0.240109 ) works fine: The latest Nuget package (v8.1.240821) crashes: (EDIT: updated with the recommendations; still crashes) |
Wizard packaged project is enough to replicate, trust me... |
@MagnusJohansson I can reproduce the crash, but can fix it by adding |
@lhak That seems to do the trick. |
Trick not working nor on my main App neither on my wizard simple test... |
Thanks for your help @lhak! This workaround fixes the issue in my local repro, and I can confirm that building packages without the |
@Arlodotexe @lhak The workaround using the TargetPlatformIdentifier might work, but unfortunately this breaks the packaging tools (when adding it to the packaging project). I tried to add TargetPlatformIdentifier to the main project, but then the app still crashes with the same error. |
Same packaging problem here. Reproducible project: |
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! 😅 |
Shipped a hotfix in v8.1.240916, just pushed to NuGet. Will be merged to main as well shortly. |
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.
The text was updated successfully, but these errors were encountered: