Тёмный

Create a .NET MAUI Windows MSIX to Sideload Or Publish to the Microsoft Store 

Gerald Versluis
Подписаться 93 тыс.
Просмотров 18 тыс.
50% 1

You're ready to show your .NET MAUI Windows app to the world, but how do you get it there? In this video I will walk you through the steps to take to create an MSIX installer from Visual Studio 2022 that you can distribute through the Microsoft Store or sideload on any Windows machine.
💝 Join this channel to get access to perks:
ru-vid.com/show-Geral...
Disclaimer: this channel is done on personal title, in my free time, and not officially affiliated with or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
🛑 Don't forget to subscribe to my channel for more cool content: ru-vid.com...
🐦 Follow me on Twitter: / jfversluis
🤝 Join the Discord server: / discord
🔗 Links
.NET MAUI Repo Windows Publishing/Archiving Issue: github.com/dotnet/maui/issues...
Release Your .NET MAUI Android App Video: • Create a Signed and Pu...
Release Your .NET MAUI iOS App Video: • Release Your .NET MAUI...
⏱ Timestamps
00:00 - Publish Your .NET MAUI Windows App
00:15 - Microsoft App Store or Side Loading MSIX
01:50 - Distribute MSIX Through Microsoft Store
03:52 - Set Package.appxmanifest Values
08:20 - Build Microsoft Store MSIX File
15:09 - Create MSIX for Side Loading
16:05 - Create Self-Signed Certificate
19:16 - Generate Self-Signed MSIX Package
21:36 - Install/Sideload Self-Signed MSIX
23:17 - Learn about iOS, Android or .NET MAUI?
🎥 Video edited with Camtasia (ref): techsmith.z6rjha.net/AJoeD
🙋‍♂️ Also find my...
Blog: blog.verslu.is
Twitch: / jfversluis
All the rest: jfversluis.dev
#dotnetmaui #windows #msix #sideloading #microsoftstore #certificate

Наука

Опубликовано:

 

1 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 151   
@jfversluis
@jfversluis 2 года назад
Want to learn how to release your apps for iOS and Android as well? Check the links right below 👇 iOS: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-kpZi5xAvpZA.html Android: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-jfSVb_RR7X0.html
@Swarajcookingnfun
@Swarajcookingnfun 2 года назад
Hi Gerald , Is there any other argument we need to paas in this msbuild command for MAUI Blazor Windows Apps? I tried this on the blazor Windows app, it is throwing build target error.
@Swarajcookingnfun
@Swarajcookingnfun 2 года назад
\source epos\MauiAppDeployTest\MauiAppDeployTest.sln" (Publish target) (1:2) -> "C:\Users\user\source epos\MauiAppDeployTest\MauiAppDeployTest\MauiAppDeployTest.csproj" (Publish target) (2:18) -> (_GenerateAppxSymbolPackage target) -> C:\Users\user\.nuget\packages\microsoft.windowsappsdk\1.0.0\build\Microsoft.Build.Msix.Packaging.targets(341,5): error MSB6011: Invalid parameters passed to the Microsoft.Build.Msix.Symbols.WinAppSdkCheckF astlinkPdb task.
@Swarajcookingnfun
@Swarajcookingnfun 2 года назад
Solved when installed MSVC Latest version. Thanks for this video.
@mikehouweling6297
@mikehouweling6297 2 года назад
Yes! Great video! I was waiting for this one! Thanks a lot Gerald 😁
@jfversluis
@jfversluis 2 года назад
Great! Let me know how it goes!
@mikehouweling6297
@mikehouweling6297 2 года назад
I will! 👍
@PticostaricaGS
@PticostaricaGS 2 года назад
Oh man, thanks a lot for this video. Extremely useful.
@jfversluis
@jfversluis 2 года назад
Good luck!
@muheebar-rahman8294
@muheebar-rahman8294 Год назад
Hi Gerald, Could you make a video on publishing with automatic updates on? because I cannot get the installer path to work. Thanks
@dotnotstandard
@dotnotstandard 2 года назад
Hi Gerald. Thanks for the video, very interesting. I'm not used to MSIX/signed app distribution, so this is more of a question about that really. I'm wondering about what happens when the signing certificate expires. Presumably the app cannot be installed on a new machine after the certificate with which it was signed has expired? Will it even run after that point - is the signing only checked at the time of installation, or each time it executes? Do the answers to these vary between self-cert and an official dev signing cert from a trusted authority? My guess is that, if self-certifying/side-loading, then the certificate needs to be regenerated and reinstalled each time it expires. Is it true to say that this will not be an issue with an official dev certificate from a root authority, as they do not need to be installed (because the cert signing chain goes up to a root cert that is installed, and presumably managed via Windows Update or similar.) I'm imagining how cert expiry might make creating a small app more difficult, as you might have to repackage/republish it regularly, so that a package is always available for download that is signed with a current certificate? In other words, if I published an app and then didn't ever republish it - because it needed no updates - then it would pass the point at which installation can be carried out because the cert has expired? Thanks in advance.
@konstantinguselnikov5616
@konstantinguselnikov5616 2 года назад
Thank you Gerald, this is a very useful useful stuff.
@jfversluis
@jfversluis 2 года назад
Great, thanks!
@sps014
@sps014 2 года назад
Great video, Missed MAUI next preview uodate video from you , hoping to see it soon.
@jfversluis
@jfversluis 2 года назад
I figured there wasn't much to update to be honest! But I think there is still one important thing that might be good to mention... I'll see if I can record something quick about it. Thanks for being a fan! :D
@jvillaro
@jvillaro 2 года назад
Great video! Thanks!
@jfversluis
@jfversluis 2 года назад
Thanks José!
@rashmih8774
@rashmih8774 11 месяцев назад
Thank you so much for the detailed video. I followed all the steps for self signing and it works great in my local machine. Where as if I copy the app package in different machine then it install successfully but do not launch my application. And I Checked the error in EventViewer it says "C:\Windows\System32\KERNELBASE.dll". Any help is greatly appreciated
@yunusozan
@yunusozan Год назад
Hello, how can we change expire date on self signed certificates?
@SeenuMahalakshmi
@SeenuMahalakshmi Месяц назад
Hi jerald, i have one question target platform only windows. When try to upload sideload package Generateappxpackage issue occur. When using command line publishing it works fine. But why it not working. Another question as well when try to command prompt is there any option to nuget package for particular path. Thanks advance
@bity-bite
@bity-bite 2 года назад
Great video as usual. I'm kind of disappointed of Xamarin.Forms and MAUI due to the fact of how hard it is to style native UI controls. I absolutely love how Flutter does it, beautiful UI as easy as it gets.
@jfversluis
@jfversluis 2 года назад
Thank you! Sorry to hear that. I think it's important to realize that Flutter and .NET MAUI differ on this point fundamentally. With .NET MAUI we're definitely investigating to also achieve this easier, but that will come in a later stage. You might want to check out Microsoft.Maui.Graphics.Controls for a nice initiative that tries to do this.
@charlesemge3824
@charlesemge3824 2 года назад
Great Content - Love this Channel! Maybe I posted my video idea incorrectly (looks like it got deleted) -sorry. Great show! Keep up the good work!
@jfversluis
@jfversluis 2 года назад
RU-vid sometimes aggressively deletes comments that it shouldn’t. Sorry about that! Thanks for the kind words!
@davejarcher
@davejarcher 2 года назад
Hi Gerald. Has this process now changed with the latest versions of VS2022 Preview, and do you follow the same process for a Blazor Hybrid application when you wish to deploy to the Windows Store, or Sideload?
@jfversluis
@jfversluis 2 года назад
The process changes in the sense that you can now use dotnet publish, but you can still use msbuild as well. The process for a Blazor Hybrid app is exactly the same as it’s still a .NET MAUI app :) Updated Docs can be found here: docs.microsoft.com/dotnet/maui/windows/deployment/overview
@snooki9
@snooki9 2 года назад
Hi Gerald Thanks for that. Something that I wonder, is the fact to publish your app on a store (Windows, Google , Apple…) protect it from being « cracked » (By than i mean copy to an other computer without upload it on the store). Or is it something that should be think about in the app code ?
@jfversluis
@jfversluis 2 года назад
Publishing to the store should help with that, but nothing is perfect. There was this library to detect certain things in your code if that's what you want: github.com/nmilcoff/BreachDetector
@ahmedfawzy5165
@ahmedfawzy5165 2 года назад
That is what I call good educational content, I have a question, when starting a new project on widows in .net maui preview 13 there is this grey thick title bar and it's very annoying do you have any idea how to remove it? also do you know how can I package the app without the msix package with a normal installation wizard like most programs? Thanks in advance.
@jfversluis
@jfversluis 2 года назад
Thank you! I don’t know about the title bar, sorry. For the other; if you just take the dlls and exe from the output folder you should be able to put that in an installer
@GiovanniGambino
@GiovanniGambino Год назад
Hi Gerald, I did my first porting from WPF to MAUI. AMAZING and EASY! Now I'm trying to understand how "automatic update for a sideload app" works. I mean: is it enough to copy the published content to an IIS folder? Have I to rename some package? Have I to add some file? Have I to add extra code to my app? I have some confusion for this task. Can you make a video to explain pratically the procedure or if you have a link that describes a step by step procedure, can you share? thank you so much! :)
@chezchezchezchez
@chezchezchezchez Год назад
You find out?
@GiovanniGambino
@GiovanniGambino Год назад
@@chezchezchezchez not. I gave up at last
@joelBalmer1
@joelBalmer1 22 дня назад
Love your videos both professionally and personally! Quick question - if I need my MSIX to work on older versions like windows server 2016, would it work to use MSIX Packaging Tool to edit my generated msix package to include MSIX Core support to the package? Thanks :)
@jfversluis
@jfversluis 22 дня назад
Thanks Joel! To be honest I don’t know. My gut tells me it won’t work but that’s not based on a whole lot. But of course feel free to try and let me know!
@roman-k
@roman-k Год назад
Hi Gerald, how make a package that supports auto update feature on appstart? There seams to be an option in the VS publish wizard but I can't seem to use it right. Maybe there are bugs in VS? So I have to use the console commands. Thank you for your videos!
@jfversluis
@jfversluis Год назад
I don’t think you can publish from Visual Studio just yet. You’ll have to use the command-line. The auto updating is part of ClickOnce deployment if I’m not mistaken which is not supported yet but I think we’re looking into it. Thank you for watching!
@Adam-vp5ur
@Adam-vp5ur Год назад
Hi Gerald. Thank you for this video. I get the following error when using the Developer Powershell in Visual Studio 17.5.4 "Improper project configuration: WindowsPackageType is set to None, but GenerateAppxPackageOnBuild is set to true" I get the same error for each of the 4 projects that my .Net Maui references. Hope you can assist. Thanks
@jfversluis
@jfversluis Год назад
Check your Properties/launchSettings.json. Looks like it says None in there for the commandName, but that should be MsixPackage
@robertocruz231
@robertocruz231 2 года назад
Hi Gerald excelent video, I have a question, . Net MAUI is ready to develop apps in production? Thanks in advance
@jfversluis
@jfversluis 2 года назад
Thanks Roberto! That is basically up for you to decide. It’s still in preview so there are no guarantees from Microsoft, but if you test the areas you need and it feels sturdy enough… go for it! I know of production apps with .NET MAUI in the app stores today
@saileshpandey3177
@saileshpandey3177 2 года назад
Nice tutorial I have been following ur videos on .NET MAUI and kind of contemplating to try it for my app development but somehow cannot commit. Do you recommend it as it is still in preview?
@jfversluis
@jfversluis 2 года назад
Thanks Sailesh! It all depends on what you want to do. If you want to start looking at it now, then do it! If you really need to start learning from scratch maybe Xamarin.Forms is better as it's more stable and the tooling is better. Everything you will learn about Xamarin.Forms is applicable to .NET MAUI as well
@saileshpandey3177
@saileshpandey3177 2 года назад
@@jfversluis Thanks for your advice.
@carlosmedina742
@carlosmedina742 7 месяцев назад
How do I install it in Windows 7, I have even tried to install the msix package tools so that there will be msix files but when I install it I get an error with the certificate, I follow the steps that I do with Windows 10 to install the certificate and in Windows 10 I It lets the application run perfectly but in Windows 7 it seems that it does not recognize the certificate that has already been installed
@jfversluis
@jfversluis 7 месяцев назад
I don’t think windows 7 is supported by WinUI
@jamalfazeli9127
@jamalfazeli9127 2 года назад
Hi, Thanks a lot, but I've got some error when I install distributing msix app on other computers. "app installer failed to install package dependencies. ask the developer for microsoft.windowsappruntime.1.0 package." How can I solve this?
@jfversluis
@jfversluis 2 года назад
Check in your csproj if you have a reference to the WindowsAppSDK NuGet package and if so you should be able to remove it. Hopefully it will be better then.
@jamalfazeli9127
@jamalfazeli9127 2 года назад
Tried to install the .Net MAUI app project from a release and got an error: "App Installer failed to install package dependencies. Ask the developer for package. " why?
@jfversluis
@jfversluis 2 года назад
Not sure, hard to say without debugging and logs unfortunately.
@xxThemoritzxx
@xxThemoritzxx 2 года назад
Thanks for all the nice Videos about publishing to Play- , App- and Windows Store. If you have some experience with the ML.net, can you make a video about this in combination with MAUI? Greetings
@jfversluis
@jfversluis 2 года назад
Thank you! Unfortunately I don't have a lot of experience with that, sorry
@jamalfazeli9127
@jamalfazeli9127 2 года назад
How to install MAUI app on windows 7? ( I got this error when I wanted to install it. "0x80070490 - Unable to open package." Is there any way to run that?
@jfversluis
@jfversluis 2 года назад
.NET MAUI apps on windows are only supported from Windows 10 and up
@kazutsugufukumuro1919
@kazutsugufukumuro1919 2 года назад
Hello. Very inspiring video. Thank you. I am wondering why you do not have "enable sideload apps mode" error. I do when I copy the package file and run. I want to know if this is something that we cannot avoid, if we do not want to go to the store. Your insight would be much appreciated. Thanks in advance. Kazu
@jfversluis
@jfversluis 2 года назад
Indeed I didn't have that and because of that I'm also not really sure what you mean 😅 Searching for this I came to this Docs page; seems the default functionality has changed as of a certain Windows 10 version? docs.microsoft.com/windows/application-management/sideload-apps-in-windows-10
@kazutsugufukumuro1919
@kazutsugufukumuro1919 2 года назад
@@jfversluis Many thanks. This saved me a day!
@kevinfurst8163
@kevinfurst8163 2 года назад
Will there be no easy way to publish/share the app for Windows like for example with a WPF app? Can you create a single executable file for sharing?
@jfversluis
@jfversluis 2 года назад
There probably will in the future, but might not be there for GA
@kevinfurst8163
@kevinfurst8163 2 года назад
@@jfversluis thats a pity.. lets say Im developing an app and I want to share previews with my collegues and partners, is there no easy way to do that?
@jfversluis
@jfversluis 2 года назад
Sure, zip the build artifacts :)
@kevinfurst8163
@kevinfurst8163 2 года назад
@@jfversluis alright, thanks
@markgamache6377
@markgamache6377 2 года назад
@@jfversluis I don't think this works. It doesn't work for me at least on my dev machine.
@kamranattari2692
@kamranattari2692 Год назад
@Gerald I published .NET MAUI Windows MSIX to sideload that is signed with a valid certificate. When I click .msix file, nothing happened because msix extension was not known on windows 10 by default. It seems that I have to install App Installer from Microsoft Store to recognise msix extension. After installing App Installer, I clicked on .msix file it showed me installer window, when I clicked on Install button it showed me following error: App installation failed with error message: Access is denied. (0x80070005). Why am I getting this error? Then I open power shell without elevated admin rights and run Install.ps1 script it showed me Add-AppxPackage : Deployment failed with HRESULT: 0x80070005, Access is denied. error. After that I run power shell with elevated admin rights, and run Install.ps1, then it installed my package. So it is installing sideload package only from powershell with admin rights. How can we make it installable by double clicking misx file without admin rights?
@jfversluis
@jfversluis Год назад
I think that’s very dependent on the machine configuration. My Windows 10 installation recognized the msix and installed without any issue. Look inside the PowerShell script and see what it does, you should be able to repeat that or get some hint on what needs to be set the right way
@redrevyol
@redrevyol 2 года назад
I'm having issues using a certificate issued from a trusted source. I converted a .key and a .crt to .pfx using openssl then selected that file from 'Package.appxmanifest' but got an error "The manifest Designer could not import the certificate." I have that cert installed in Personal, Trusted Root Certification Authorities, and Trusted People.
@jfversluis
@jfversluis 2 года назад
Hm I haven’t seen that so don’t know, sorry!
@redrevyol
@redrevyol 2 года назад
There is no way to use a certificate by a trusted source?
@jfversluis
@jfversluis 2 года назад
Oh you definitely can, it might work slightly different and I don’t know how
@adrianllamido759
@adrianllamido759 Год назад
Hi Gerald, I'm trying create and sideload publish my .NET Maui windows app msix to my own windows server(through hyper-v) for testing if "auto-update" works. I spent days trying to follow the Microsoft docs but I can't seem to figure it out. Reading the rest of the comments, this seems to be the same as @GiovanniGambino's concern. Can you please make a video to teach us how to do this, please??
@jfversluis
@jfversluis Год назад
I think there are currently issues with msix on Windows Server, not just for .NET MAUI, but in general. I think it was never intended to run on there, but it’s being looked into. I think. Try looking for an issue in the .NET MAUI repo for all the info
@parko1965
@parko1965 Год назад
Same problem here, Maui App doesn't update. Followed the docs and still no success. My WinUI version works fine.
@josedonizeteoliveirajunior1744
Hi Gerald! Did you leave the link with the codes? Sorry if it's here and I didn't find it...
@jfversluis
@jfversluis Год назад
Looks like I forgot to add it here, sorry! I think this is the one github.com/jfversluis/MauiPublishingSampleApp
@RubenHeerenDev
@RubenHeerenDev 2 года назад
Hey Gerald, Thanks for the guide. I followed everything exactly and it works on my development pc. My question is for the sideloading route. I put the msix on an USB to try it on different PCs and when I install it from there (from the USB) on my development pc it works. The app launches. But when I install it on a different PC (after setting up the certificate, all from the USB) the install works, I see the app installed. Then, when I try to start the app it shows the little loading spinner for 1-3 seconds and... nothing. Tried this on 2 different PCs, one running Windows 10 and another running Windows 11 stable. My dev PC is on the Windows 11 preview channel. They have the .NET 6.0.2 SDK installed, but not Visual Studio. Only my dev PC has Visual Studio installed. Do you have any ideas how to fix this? Thanks in advance. - Ruben
@jfversluis
@jfversluis 2 года назад
Strange, I tried that and it seems to work for me. Is this a regular .NET MAUI app or a Blazor one? You could check the event log to see if that gives you some information. My guess is it will give you some missing dll message
@RubenHeerenDev
@RubenHeerenDev 2 года назад
@@jfversluis it's a Blazor one. You mean the Windows Event Viewer app right? And then in the Windows Logs -> Application? Thanks for the quick reply.
@jfversluis
@jfversluis 2 года назад
@@RubenHeerenDev I see past-me did also discover .NET MAUI Blazor isn't working yet like that: github.com/dotnet/maui/issues/4329 For Event Log, basically search for it in your Start Menu, it's pretty straight-forward. It's logging for everything in Windows. I don't have a reference handy. You should be able to find a screen with loads of logging messages. If you then run your app a new record will pop up with some error details. But based of this I'm fairly sure that this is the case.
@RubenHeerenDev
@RubenHeerenDev 2 года назад
@@jfversluis Ah that explains it! I will try it as a WPF Blazor app then. Thanks for the help!
@Swarajcookingnfun
@Swarajcookingnfun 2 года назад
@@jfversluis I am facing the same issue, Maui Windows app working but Maui Blazor windows app is crashing , I checked in Event viewer and found faulting nodule name kernelbase.dll
@purplepanther4153
@purplepanther4153 2 года назад
Thanks GV. Its complicated. Could a customer or client of mine could install from link or downlaod from a some sort of portal.
@jfversluis
@jfversluis 2 года назад
Sure, put the msix and certificate somewhere to download and they can :) we’re working on also enabling en “unpackaged” scenario where you can just use all the dlls and exe
@purplepanther4153
@purplepanther4153 2 года назад
@@jfversluis Sounds great thank you.
@DanielAncines
@DanielAncines Год назад
Hi Gerald, in your opinion, what is the best certificate authority to Sideload apps? Regards from Brazil.
@jfversluis
@jfversluis Год назад
I don’t think it will make much of a difference to be honest. Are Let’s Encrypt certificates trusted by default these days? Then you might even be able to do it for free
@DanielAncines
@DanielAncines Год назад
@@jfversluis thanks Gerald!
@DanielAncines
@DanielAncines Год назад
@@jfversluis I believed that Let's Encrypt was for Domains and I'm right, but thank you again!
@jfversluis
@jfversluis Год назад
@@DanielAncines Yeah they don't seem to have anything for that. Too bad!
@RubenHeerenDev
@RubenHeerenDev 2 года назад
Thanks for the awesome video. For me the AppPackages was in the following location (not x64): C:\Users\Ruben\SolutionName\ProjectName\bin\Release et6.0-windows10.0.19041\win10-x64\AppPackages\ProjectName_0.1.0.0_Test Edit: Oops. I forgot to specify /p:Platform=x64 . Now it's there.
@jfversluis
@jfversluis 2 года назад
Glad you figured it out!
@nichojo89
@nichojo89 2 года назад
Is the MSIX file the same binary used for Windows mobile and desktop?
@jfversluis
@jfversluis 2 года назад
And HoloLens and Xbox, yes! :)
@nichojo89
@nichojo89 2 года назад
Oh cool, I forget about those platforms. Your giving me ideas 💡
@Swarajcookingnfun
@Swarajcookingnfun 2 года назад
The whole steps for sideloading will not work for MAUI BLAZOR Windows apps, am I correct??
@jfversluis
@jfversluis 2 года назад
It works for me so it should be able to do
@Swarajcookingnfun
@Swarajcookingnfun 2 года назад
@@jfversluis Yeah, it worked when I installed latest MSVC. Thanks 🙂
@coding_ideas
@coding_ideas 8 месяцев назад
Can I also create an EXE or MSI installer in .NET MAUI?
@jfversluis
@jfversluis 8 месяцев назад
Yes on both! Each of those should be handled here: learn.microsoft.com/dotnet/maui/windows/deployment/overview
@danis3536
@danis3536 2 года назад
Is there possible to create executable without signing ?
@jfversluis
@jfversluis 2 года назад
I think that is referred to as unpackaged publishing. I think there is still a bug in there but should be possible by GA
@egvijayanand
@egvijayanand 2 года назад
11:24 one small correction, GenerateAppxPackageOnBuild needs to be defined on the PropertyGroup node and not on the ItemGroup node.
@jfversluis
@jfversluis 2 года назад
Ah you're right, didn't look closely enough! :) Thanks!
@Swarajcookingnfun
@Swarajcookingnfun 2 года назад
@Vijay Anand E G Can we deploy the MAUI Blazor app on non dev machine? Any other way?
@egvijayanand
@egvijayanand 2 года назад
@@Swarajcookingnfun Support for Non-Packaged apps is yet to be provided with .NET MAUI. Expecting it to get enabled soon.
@techw3608
@techw3608 Год назад
Where i can find publish command you used
@jfversluis
@jfversluis Год назад
Find the whole process also here: learn.microsoft.com/dotnet/maui/windows/deployment/overview?view=net-maui-7.0
@cyrusmooi8125
@cyrusmooi8125 2 года назад
Great Content but how about hosting/publish dotNet maui Blazor Web application in iis. Thanks
@jfversluis
@jfversluis 2 года назад
thanks! You can’t :) you either run it in a .NET MAUI app or you have a separate project that runs on the web. We currently don’t have a way to go to the web directly. Personally I don’t like that. I see much more in the approach of making reusable components and share those
@Swarajcookingnfun
@Swarajcookingnfun 2 года назад
Hey Gerald , can you suggest me another option to excecute msbuild command on non dev machine, so that without Visual studio I can execute the MSbuild command for my project and so that app would become deployable on (MAUI blazor windows app) on non dev machine when MSIX installs the app.
@jfversluis
@jfversluis 2 года назад
I'm sorry, I'm not sure what you mean. You shouldn't execute msbuild on a non-dev machine. You should create the msix on a dev machine and you should be able to distribute that.
@Swarajcookingnfun
@Swarajcookingnfun 2 года назад
@@jfversluisI tried to do that but maui blazor app got crashed after MSIX installs and launches the app. I am getting faulty Kernelbase.dll error in Event viewer log. I need to do sideloading.
@jfversluis
@jfversluis 2 года назад
I think I already mentioned that is a known bug, we’re working on it
@Swarajcookingnfun
@Swarajcookingnfun 2 года назад
@@jfversluis yeah that's why I am finding the other way. It's very urgent to implement and deploy using sideloading. So I am searching how we can do it if it's a bug.
@jfversluis
@jfversluis 2 года назад
@@Swarajcookingnfun It's still in preview so things like these are to be expected. I understand it's urgent to you, but there is not much there can be done right now besides just zipping your build folder and send that
@ChatGPTtut
@ChatGPTtut 2 года назад
Please Create a video on Blazor MAUI Application CRUD Operations on DB with ef or without EF
@jfversluis
@jfversluis 2 года назад
That one is coming! Full tutorial for a .NET MAUO Blazor app including CRUD on a local database
@ChatGPTtut
@ChatGPTtut 2 года назад
@@jfversluis thanks soo much
@cranecoding3489
@cranecoding3489 2 года назад
Please do a tutorial for UWP signing and distribution to Microsoft store
@jfversluis
@jfversluis 2 года назад
Should be the exact same. Or even easier because you can right-click and Publish straight from Visual Studio
@bikashghosh245
@bikashghosh245 2 года назад
I am getting below error while executing msbuild command: error NU1201: Project xxxxx is not compatible with net6.0-android31.0 (.NETCoreApp,Version=v6.0). Project xxxxx supports: net6.0-windows10.0.19041 (.NETCoreApp,Version=v6.0) Any help would be appreciated.
@jfversluis
@jfversluis 2 года назад
What is the exact command you specified? Looks like it’s trying to build Android as well
@bikashghosh245
@bikashghosh245 2 года назад
@@jfversluis This is the exact command: msbuild xxxxxx.csproj /restore /t:Publish /p:TargetFramework=net6.0-windows10.0.19041 /p:configuration=release /p:GenerateAppxPackageOnBuild=true /p:AppxPackageSigningEnabled=true /p:PackageCertificateThumbprint="...." We have couple of ClassLibrary project targeting .Net 6 added to the same solution.
@jfversluis
@jfversluis 2 года назад
Hm weird. Will be tough offering any help without knowing all the details. Make sure that no Android stuff is somehow referenced or loaded when building for Windows
@bikashghosh245
@bikashghosh245 2 года назад
@@jfversluis It's not throwing error only for Android , it is throwing error for iOS & macCatalyst too as below: error NU1201: Project xxxxx is not compatible with net6.0-ios15.2 (.NETCoreApp,Version=v6.0). Project xxxxx supports: net6.0-windows10.0.19041 (.NETCoreApp,Version=v6.0) Seems it is trying to compile all the platform and I am using VS 2022 preview 17.2
@jfversluis
@jfversluis 2 года назад
I’m guessing xxxxx is one of the libraries you’re referencing?
@amijk2956
@amijk2956 2 года назад
Password and ProtectTo cannot both be absent...m getting this error
@jfversluis
@jfversluis 2 года назад
Haven't had that error... Sorry!
@roulettetrackerpro
@roulettetrackerpro 9 месяцев назад
How can i create an account? It's impossible.
@jfversluis
@jfversluis 9 месяцев назад
Please see if there is any support on that website. Don’t know about account creation sorry!
@rjbraasch
@rjbraasch 2 года назад
Hi Gerald, your video is extremely usefull. Thanks Sorry to bother but I hope you can help. I've just experiences a small problem at the point where I'm to submit my app to the Microsoft Store... It 's the current required use of [] in the Package.appxmanifest. The app does not compile without that setting, but when submitting it to the store, the app appears to get blocked. Here is the comment... [We detected the use of one or more restricted capabilities in your Package.appxmanifest file. You must request approval to use restricted capabilities by providing more information below. Please include as much detail as possible] So, I've tried to explain, blaming it on the pre-release state of .Net Maui, but it appears not to help . Its been two days now and I'm still waiting for some feedback of sorts. Would you maybe know how to get past this problem? Thanks and regards
@veezel2035
@veezel2035 Год назад
Hi, did you get any answer?, i have the same problem at the moment
@djohnnie
@djohnnie Год назад
I'm also interested in some help regarding this topic since I'm struggling with the same issue...
@jfversluis
@jfversluis Год назад
Is this actually preventing you from publishing? As far as I know this is a note in the portal because of the runFullTrust capability. From what I could tell you could just get past this and publish without any issues.
@djohnnie
@djohnnie Год назад
I did have to manually explain why I needed full trust, but eventually they accepted and published my app. Thank you!
@jfversluis
@jfversluis Год назад
I’ll double check to see why we actually need it, but glad to see you’re unblocked!
@metacapitalism5113
@metacapitalism5113 Год назад
Getting: ConvertTo-SecureString: A positional parameter cannot be found that accepts argument 'Export-PfxCertificate'. error. Tried above as one PS command and got error. Works as two separate commands. Note, when entered as two separate commands it works (Note quotation strings too). 1. $password = ConvertTo-SecureString "P@ssW0rD!" -AsPlainText -Force 2. Export-PfxCertificate -cert "Cert:\CurrentUser\My\" -FilePath certificate.pfx -Password $password Failed on attempt to use msbuild command from PowerShell 7 command prompt with Build FAILED "C:\Archive\Projects\UBViews_2023\UBViews\UBViews.Maui\UBViews.Maui.csproj" (Publish target) (1:10) -> "C:\Archive\Projects\UBViws_2023\UBViews\UBViews.QueryEngine\UBViews.LexParser.fsproj" (default target) (2:6) -> (ResolvePackageAssets target) -> C:\Program Files\dotnet\sdk\7.0.203\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): er ror NETSDK1005: Assets file 'C:\Archive\Projects\UBViews_2023\UBViews\UBViews.QueryEngine\obj\project.assets.json' doesn't ha ve a target for 'net7.0'. Ensure that restore has run and that you have included 'net7.0' in the TargetFrameworks for your pr oject. [C:\Archive\Projects\UBViews_2023\UBViews\UBViews.QueryEngine\UBViews.LexParser.fsproj] 0 Warning(s) 1 Error(s) This Maui App uses a F# library that provides a Lexer / Parser for a custom query langauge. When I use the Publish funcationality from UI was able to publish and load onto another machine by putting the cert in the proper store. So, I was able to do this sideloading publishing process done through the UI using the Publish menu but so far no luck using msbuild due to F# library project issue which I assume is a setting somewhere. Good news is when I use the UI right-click Publish functionality I don't see this error and the Install files are created in the directory and able to be installed on another machine.
@nqaiser
@nqaiser 2 года назад
I was not succesful in running the MSBuild, It shows a strange error that parameters are not valid: Microsoft.Build.Msix.Packaging.targets(341,5): error MSB60 11: Invalid parameters passed to the Microsoft.Build.Msix.Symbols.WinAppSdkCheckFastlinkPdb task. EDIT: Actually this error us meaningless, deep in the x64 folder I did find the MSIX file which I could use to submit app to store and successfully download the app and run it.
@jfversluis
@jfversluis 2 года назад
Ah yeah I think you need to install the Windows Development workload for that in the Visual Studio installer
@nqaiser
@nqaiser 2 года назад
@@jfversluis I installed the Windows UWP Development kit from Visual Studio Installer but still it did not work.
Далее
Release Your .NET MAUI iOS App to the Apple App Store
27:23
Why Windows Phone Failed
10:32
Просмотров 776 тыс.
Microsoft COMPANY REVIEW 2021 | Software Engineer
14:55
Publishing .NET MAUI Apps to the Stores Made Easy
12:19
Automatic Updates - MAUI CI/CD TUTORIAL #4 (Windows)
11:20
Publish WPF app to ms Store: set up
7:15
Просмотров 7 тыс.
ЗАБЫТЫЙ IPHONE 😳
0:31
Просмотров 20 тыс.
Telefonu Parçaladım!😱
0:16
Просмотров 29 млн