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

Failed to publish maui blazor app on windows #3977

Closed
hy999 opened this issue Jan 6, 2022 · 5 comments
Closed

Failed to publish maui blazor app on windows #3977

hy999 opened this issue Jan 6, 2022 · 5 comments
Labels
area/blazor 🕸️ Blazor Hybrid / Desktop, BlazorWebView area/publishing 🏁 platform/windows 🪟 t/bug Something isn't working
Projects

Comments

@hy999
Copy link

hy999 commented Jan 6, 2022

Description

When I publish maui blazor app on windows,it show erro:publish with il trimming is not yet supported

Steps to Reproduce

1,publish the project
2,select release/any cpu->net6.0-windows19041->Dependency framework->win64

Version with bug

Preview 11

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

10.0.19041.0

Did you find any workaround?

no

Relevant log output

No response

@hy999 hy999 added the t/bug Something isn't working label Jan 6, 2022
@jsuarezruiz jsuarezruiz added this to New in Triage via automation Jan 10, 2022
@jsuarezruiz jsuarezruiz added area/blazor 🕸️ Blazor Hybrid / Desktop, BlazorWebView area/publishing 🏁 labels Jan 10, 2022
@mkArtakMSFT
Copy link
Member

Thanks for contacting us, @hy999.

Keeping this in the area/blazor to investigate and confirm whether this is Blazor specific or not.

@javiercn
Copy link
Member

@mkArtakMSFT I was able to "publish" a blazor maui app on windows following the steps described here. I was able to install the resulting msix package and run the app without issues.

image

Triage automation moved this from New to Done Jan 28, 2022
@igalfsg
Copy link

igalfsg commented Jan 28, 2022

@javiercn were you able to do it on your non dev machine? In that thread we talk about how it works for the dev machine but it fails on other computers.

@javiercn
Copy link
Member

@igalfsg no, this was on my dev box.

Not sure what the differences are between the dev box and non dev box. I'm not an expert in this area and I don't know if you have to enable "side-loading of apps" to get the msix to work, but I did none of that.

The only thing that I did was generate a self-signed certificate, use it to sign the msix and then added that certificate to the machine trusted roots.

@igalfsg
Copy link

igalfsg commented Jan 28, 2022

@javiercn Yeah for some reason it is not working on Non-Dev machines , @burtonrodman and I have validated in different apps and we get the same result, it works on dev machine and it doesn't in non dev machine.

Screenshot from the mentioned thread:
image

It is now a known problem at the top of that thread:
image

Should this be re-opened to track the issue?

@dotnet dotnet locked as resolved and limited conversation to collaborators Feb 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/blazor 🕸️ Blazor Hybrid / Desktop, BlazorWebView area/publishing 🏁 platform/windows 🪟 t/bug Something isn't working
Projects
No open projects
Development

No branches or pull requests

6 participants