-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Publishing a server hosted wasm app fails in dotnet 7 rc1 #44182
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
Comments
Hey @MarkStega is this a regression, or were you trying this out for the first time? Have you tried adding the build containers package ( |
Hi @MarkStega. We have added the "Needs: Author Feedback" 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. |
The microsoft.net.build.containers package is installed The complete repository is at https://github.com/Dioptra/Website.2203 in the vPublish branch |
And just to confirm, is this a regression, or were you trying this out for the first time? |
Hi @MarkStega. We have added the "Needs: Author Feedback" 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. |
Also just took a quick peek at the project you linked. Are you able to provide a minimal public GitHub project which reproduces this issue? |
I am trying to build an app from a simple server hosted web assembly (https://github.com/MarkStega/BlazorApp1). I have not yet been able to reproduce the issue. I will keep adding content from the failing project until I can reproduce... |
Thanks! Just going to add back the "needs feedback" label. |
Hi @MarkStega. We have added the "Needs: Author Feedback" 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. |
I have cut the vPublish branch of https://github.com/Dioptra/Website.2203 to a minimal reproduction project. |
Thanks @MarkStega, however that branch still has a (lot) of content above the base Blazor template. We request a minimal repro so we can isolate issues to framework code, and help quickly resolve issues. Unfortunately we aren't able to investigate extensively with complex user apps, as that would usually require additional domain context into project architecture and so on. Would you be able to put together a minimal reproduction application using the base Blazor template? |
Hi @MarkStega. We have added the "Needs: Author Feedback" 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. |
I just upgraded the branch to .Net 7 release and the error persists. It's not a regression, the issue was observed in RC1 when the feature was released. |
@TanayParikh We have a similar report on EF Core (dotnet/efcore#29491) that has regressed our Migration Bundles feature in 7.0. The bundle is a separate project that references the Blazor app. It fails when calling |
To learn more about what this message means, what to expect next, and how this issue will be handled you can read our Triage Process document. |
I created a new solution with a wasm client hosted by a server. The publish step still fails, but with a different error message from the original issue. Current error:
Current configuration:
|
Thank you for filing this issue. In order for us to investigate this issue, please provide a minimal repro project that illustrates the problem without unnecessary code. Please share with us in a public GitHub repo because we cannot open ZIP attachments, and don't include any confidential content. |
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. See our Issue Management Policies for more information. |
I have already supplied the minimal steps to reproduce... |
To learn more about what this message means, what to expect next, and how this issue will be handled you can read our Triage Process document. |
Thanks for your report. |
Is there an existing issue for this?
Describe the bug
If you attempt to publish a server hosted wasm app it fails
Expected Behavior
Expect to be able to publish
Steps To Reproduce
Using .net 7 RC1 and VS 17.4.0 Preview 2.1 with the workload of 'wasm-tools installed create a blazor wasm app that is server hosted.
issue the following command:
Exceptions (if any)
None
.NET Version
7.0.100-rc.1.22431.12
Anything else?
The text was updated successfully, but these errors were encountered: