Hi,
I tried to publish the app and I got this error.
Any specials requirement to publish this app for testing.
03/04/2022 10:45:16 System.AggregateException: One or more errors occurred. ---> Microsoft.WebTools.Shared.Exceptions.WebToolsException: Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details. --- End of inner exception stack trace --- ---> (Inner Exception #0) Microsoft.WebTools.Shared.Exceptions.WebToolsException: Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details. <--- Microsoft.WebTools.Shared.Exceptions.WebToolsException: Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details. ===================
1 Answer, 1 is accepted
Hello Daniel,
This question is not related to Telerik UI for .NET MAUI. It is a general .NET MAUI question. For general .NET MAUI questions I suggest you use the Microsoft Q&A. You can find post by typing .net maui/maui or using the "ask a question" button.
Regards,
Author nickname
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Daniel, as Didi mentioned, the problem you're having is related to dotnet preview SDK publishing, which has nothing to do with the Telerik UI for MAUI controls. The Telerik components are UI controls, and is not related to any of the dotnet SDK functionality.
I am closing this thread as unrelated. If you would like to have a discussion with someone about whether or not they can publish a WinUI3 MAUI app, you can do this on StackOverflow, Microsoft Q&A or on the MAUI GitHub.
As a side note, we've discussed this on many different occasions that the Telerik forums are available for getting help with the Telerik functionality. You are wasting days of time in getting help by asking these types of questions here, as we cannot answer your general SDK questions and may possibly end up closing your case without a response at all (especially continuing to ask questions from the same engineer who just said where you can find help).
I highly recommend the three options I mentioned above for general technology help, for Telerik-related assistance, we're happy to assist.
i already open issue in microsoft.
Regarding the publish, it was for testing purposes.
Thanks.
That's good news. Specifically, I do not believe this is related to even the MAUI SDK. It looks like a typical msbuild setup for packaging single-project MSIX WinUI3 project types (remember MAUI is just a layer on top of whatever the platform is, you still need to follow the platform's publishing steps)
I do not know if the VS2022 Preview GUI is an option for WinUI3 projects, I've never published a UWP or WinUI3 project that way. I've always done it via the command line. In any case, you can Google "How to publish/package a WinUI3 project", here are some of my favorite results:
- Packaging a WinUI3 Desktop Application - Nick's .NET Travels (builttoroam.com)
- Package your app using single-project MSIX - Windows apps | Microsoft Docs
- This is also probably relevant, the project should be set to AnyCPU https://github.com/microsoft/CsWinRT/issues/1023
Hi,
I used Visual Studio Community 2022 17.2 Preview 2.1 .NET MAUI Preview 14
My question is it possible to create excutable file in Window platform ?
In this link: https://www.youtube.com/watch?v=jfSVb_RR7X0
:Create a Signed and Publishable .NET MAUI Android App in VS2022
I this link:
https://www.youtube.com/watch?v=kpZi5xAvpZA
Release Your .NET MAUI iOS App to the Apple App Store
For window I find this link:
https://www.youtube.com/watch?v=FNwv_W3TtSU
Create a .NET MAUI Windows MSIX to Sideload Or Publish to the Microsoft Store
My question is not possible to publish without creating certificate ?
Thanks in advance,
I moved to 17 preview 3 and still not succeeded to deploy my app .
Does give me someone who can advise to publish and create exe from it ?
Hi Daniel,
App publishing is something that Telerik Support doesn't have resources for, as it is a feature of the SDK rather than a feature of UI for MAUI controls.
I do remember seeing some threads in the MAUI Issues and I think I also remember seeing a blog series form the same author. Search here => https://github.com/dotnet/maui/issues
I succeeded published the app using this tread:https://github.com/dotnet/maui/issues/6717
But there is one more issue after publish in release mode,
I run the MSIX and go to Task Manger on processes tab and choose the exe and go to details and you see all dlls and images ..... is not a bug ? look on attached screenshot.
We do not support publishing with the previews. It's also against the legal terms you agreed to with the terms of service for the UI for MAUI preview releases.
Once Telerik UI for MAUI is available, and you purchase a license, then you can attempt publishing. If you have an issue then, you can open a Technical Support Ticket using your license.
it is for testing purposes.
We are waiting to buy the licence.
I understand, please don't misunderstand my response as saying I think you're trying to publish with preview bits. However, while we're in preview, we cannot promise any sort of compatibility with packaging and distribution (we do not even have our own demo apps in the stores yet because .NET MAUI itself isn't even GA, it is currently RC3).
when release comes, you can then compile/package your project with the non preview version of Visual Studio and use the official SDK and MSBuild.
Right now you are using a preview version of MSBuild, a preview version of .NET MAUI and a preview version of Telerik UI for MAUI. It would be early coincidence if all of those work well enough to produce a final, trimmed and distributable application.
Error from Event viewer.
Hi Daniel, please carefully review the license you agreed to before attempting to publish anything End user license agreement for UI for MAUI - EULA (telerik.com). If you have any questions on agreement you are legally bound to, contact the sales team here https://telerik.com/contact