Closed ITaluone closed 6 months ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
This looks like something that can be relatively easily tested in a vanilla[^1] WinUI (without MAUI) to find out if it is a MAUI bug or a WinUI bug.
[^1]: I use my testing app https://github.com/MartyIX/LineHeight202404/.
Now I am confused completely... I have to admit, that my app has some special cases which should be met.
So I decided to test this with a boilerplate VS MAUI-Blazor, just adding the capability for startupTask
... and... it works.
After this insight, I was sure it have to be one or more piece of aforementioned app capabilities, so I removed anything special to my app.. and it worked.
Now, after quite a long iteration between: "Adding something back" -> "publish" -> "install the msix" -> "repeat" I am now in the initial state.. Error: gone 🤷♂️
Can anybody relate to this? 😆
Hmm good to hear your unblocked @ITaluone
Can we close this issue for now? If you're able to reproduce this in a vanilla WinUI app then we can create an issue for them
Hmm good to hear your unblocked
Me too... But I did nothing different... suddenly it seems to work
Can we close this issue for now?
Yes I guess..
I will reopen if this problem comes back
Description
If I configure my maui app to run as a startup task like this:
where the
desktop
xml namespace is:xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
andmy.applicationId.from.csproj
matches this<ApplicationId>my.applicationId.from.csproj</ApplicationId>
I am able to enable this app as startup task in windows app settings. So far so good..
Now, if I logoff and back on I run into following error: My App shows up for like 100ms and then crashes silently. Only two messages in the event log are added.
First event log:
Second event log in german:
Unfortunately I cannot give any more information, because everything is working when:
appExecutionAlias
with a link inside shell:startupThis config looks like this:
where namespace
uap5
isxmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5"
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.21 SR4.1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
Running with
appExecutionAlias
via cli on startup (as described above)Relevant log output
No response