Skip to content
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

Closed
danies8 opened this issue Sep 27, 2023 · 7 comments
Closed

Server 2022 - Maui app with net .7 is not working #17688

danies8 opened this issue Sep 27, 2023 · 7 comments
Labels
platform/windows 🪟 s/needs-attention Issue has more information and needs another look t/bug Something isn't working

Comments

@danies8
Copy link

danies8 commented Sep 27, 2023

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:
image

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

@danies8 danies8 added the t/bug Something isn't working label Sep 27, 2023
@danies8
Copy link
Author

danies8 commented Sep 27, 2023

.net 6 work in server 2022

@jfversluis
Copy link
Member

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?

@jfversluis jfversluis added platform/windows 🪟 s/needs-info Issue needs more info from the author labels Sep 27, 2023
@ghost
Copy link

ghost commented Sep 27, 2023

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.

@danies8
Copy link
Author

danies8 commented Sep 27, 2023

No information from the Windows Event Log.
I will install KB5018485 as an optional update directly through windows update and see if there is problem.
I will update this ticket.
Thanks

@ghost ghost added s/needs-attention Issue has more information and needs another look and removed s/needs-info Issue needs more info from the author labels Sep 27, 2023
@danies8
Copy link
Author

danies8 commented Sep 27, 2023

I install brand new server 2022 and run the maui app as exe and is work!!

@danies8
Copy link
Author

danies8 commented Sep 27, 2023

standard server 2022

@jfversluis
Copy link
Member

OK seems like some kind of prerequisite error then. Glad you figured it out!

@jfversluis jfversluis closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform/windows 🪟 s/needs-attention Issue has more information and needs another look t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants