-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Server 2022 - Maui app with net .7 is not working #17688
Comments
.net 6 work in server 2022 |
Looks like that is related to this: microsoft/WindowsAppSDK#2829 Can you confirm the mentioned update is installed that is mentioned in the linked issue? Do you have any addition log information from the Windows Event Log? |
Hi @danies8. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
No information from the Windows Event Log. |
I install brand new server 2022 and run the maui app as exe and is work!! |
standard server 2022 |
OK seems like some kind of prerequisite error then. Glad you figured it out! |
Description
Hi,
I installed Maui app on server 2019 with this command and its works but on server 2022 its not work:
dotnet publish -f net7.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true /p:PackageCertificateThumbprint="c01ba45666762f3615cf6813aeb4dc4b1919541d"
I also installed .NET7 on server 2019 + 2022 :
https://dotnet.microsoft.com/en-us/download - .NET 7.0
Why is not work on 2022 ?
The error:
Steps to Reproduce
See description
Link to public reproduction project repository
No response
Version with bug
7.0.92
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
6.0
Affected platforms
Windows
Affected platform versions
..
Did you find any workaround?
No workaround.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: