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

[regression/8.0.3] creating MSIX is not working #18957

Closed
danies8 opened this issue Nov 22, 2023 · 6 comments
Closed

[regression/8.0.3] creating MSIX is not working #18957

danies8 opened this issue Nov 22, 2023 · 6 comments
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) platform/windows 🪟 potential-regression This issue described a possible regression on a currently supported version., verification pending s/needs-info Issue needs more info from the author t/bug Something isn't working

Comments

@danies8
Copy link

danies8 commented Nov 22, 2023

Description

I moved from NET 7 to net 8.

I tried to create msix as follow:

dotnet publish -f net8.0-windows10.0.19041.0 -c Release /p:AppxPackageSigningEnabled=true /p:PackageCertificateThumbprint="c01ba45666762f3615cf6813aeb4dc4b1919541d"

Lanungh it and is not open.
The app run in vs.

I installed also sdk 8.0.100
image

Thanks in advance,

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.3

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

7.0.101

Affected platforms

Windows

Affected platform versions

Windows

Did you find any workaround?

NO.

Relevant log output

I have feeling that the sdk 8.0.100 is not the correct.
@danies8 danies8 added the t/bug Something isn't working label Nov 22, 2023
@danies8
Copy link
Author

danies8 commented Nov 26, 2023

Added log from eent viewer:
exe.txt
exe2.txt

I tried publish both msix and exe(added :RuntimeIdentifierOverride) and both crached i added logs from event viewer.

MSIX:

dotnet publish -f net8.0-windows10.0.19041.0 -c Release /p:AppxPackageSigningEnabled=true /p:PackageCertificateThumbprint="c01ba45666762f3615cf6813aeb4dc4b1919541d" -p:RuntimeIdentifierOverride=win10-x64

EXE(Unpacked)

dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true /p:PackageCertificateThumbprint="c01ba45666762f3615cf6813aeb4dc4b1919541d" -p:RuntimeIdentifierOverride=win10-x64

@danies8
Copy link
Author

danies8 commented Nov 27, 2023

Could you please answer?

@Eilon Eilon added the area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) label Dec 5, 2023
@samhouts samhouts added the potential-regression This issue described a possible regression on a currently supported version., verification pending label Dec 6, 2023
@samhouts samhouts changed the title Maui - Moved to net 8 - creating MSIX is not working [regression/8.0.3] creating MSIX is not working Dec 7, 2023
@cwall-dev
Copy link

We have the same Problem. The created and installed MSIX Package launches on Windows 11 but not on Windows 10.
The Same package targeting net7.0 launches on both platforms.

@jfversluis
Copy link
Member

You might want to try this #19456 (comment)

@jfversluis jfversluis added the s/needs-info Issue needs more info from the author label Jan 23, 2024
@ghost
Copy link

ghost commented Jan 23, 2024

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.

@ghost ghost added the s/no-recent-activity Issue has had no recent activity label Jan 29, 2024
@ghost
Copy link

ghost commented Jan 29, 2024

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

@ghost ghost closed this as completed Feb 1, 2024
@ghost ghost removed the s/no-recent-activity Issue has had no recent activity label Feb 2, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 2024
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) platform/windows 🪟 potential-regression This issue described a possible regression on a currently supported version., verification pending s/needs-info Issue needs more info from the author t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants