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

Cannot Publish MAUI App in Intune #17810

Closed
igalfsg opened this issue Oct 3, 2023 · 4 comments
Closed

Cannot Publish MAUI App in Intune #17810

igalfsg opened this issue Oct 3, 2023 · 4 comments
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) platform/windows 🪟 s/needs-info Issue needs more info from the author s/triaged Issue has been reviewed t/bug Something isn't working

Comments

@igalfsg
Copy link

igalfsg commented Oct 3, 2023

Description

When trying to publish a MAUI MSIX on Intune it says that the dependency "Microsoft.WindowsAppRuntime.1.2" is not in the package. Based on my research Intune removed the ability to load external packages from the manifest meaning that "Microsoft.WindowsAppRuntime.1.2" must be part of the application. Is there a way to compile the MAUI application with that dependency?

image

Steps to Reproduce

  1. Create any MAUI MSIX by publishing a MAUI application for Windows.
  2. Try to deploy it in Intune as a line of business application.

Link to public reproduction project repository

No response

Version with bug

7.0.92

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

net6.0-windows10.0.19041

Did you find any workaround?

I have not found a workaround.

Relevant log output

No response

@igalfsg igalfsg added the t/bug Something isn't working label Oct 3, 2023
@Eilon Eilon added the area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) label Oct 3, 2023
@samfoucart
Copy link

I am experiencing the exact same issue. I am using the publish function in Visual Studio. I was able to edit the msix appxmanifest using the MSIX Packaging Tool to get past this phase of the upload process. But my workaround results in a crash on installation for most users.

@mattleibow
Copy link
Member

You may need to set <WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained> in your csproj.

This will include the WASDK msix files, but this also is going to prevent any security patches from the OS being applied. However, with intune, this may not be a typical store app so will not really matter as you are doing enterprise things.

@mattleibow mattleibow added the s/needs-info Issue needs more info from the author label Jul 24, 2024
Copy link
Contributor

Hi @igalfsg. 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.

@dotnet-policy-service dotnet-policy-service bot added the s/no-recent-activity Issue has had no recent activity label Jul 29, 2024
Copy link
Contributor

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.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 1, 2024
@dotnet-policy-service dotnet-policy-service bot removed the s/no-recent-activity Issue has had no recent activity label Sep 1, 2024
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 🪟 s/needs-info Issue needs more info from the author s/triaged Issue has been reviewed t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants