Enable Unpackaged Distribution of your .NET MAUI Windows App

preview_player
Показать описание
Just want to send an exe file to your users instead of an MSIX? In this short I will show you how to configure your .NET MAUI app to do just that!

💝 Join this channel to get access to perks:

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.

🔗 Links

⏱ Timestamps
00:00 - Distribute .NET MAUI Windows Apps as exe
00:06 - Add WindowsPackageType to csproj
00:50 - Please note!

🙋‍♂️ Also find my...

#dotnetmaui #msix #unpackaged #winui #dotnet6 #maui #shorts
Рекомендации по теме
Комментарии
Автор

Short, straight to the point! I love that! If only all the youtube videos were like this one! Thanks!

sebastienrobitaille
Автор

that's really cool to find with maui again! thanks 🙏

YaSiRaRaFaTdoTNet
Автор

I did the change and run the command: dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None ... a Publish folder was generated and inside the .exe file. I tried to execute the .exe file but the application did not start. Do you know if there is a bug that prevents to create unpackage deployment?

WilmerLin
Автор

Thanks for this video, this is the answer I have been looking for for days. Just a question, how can I make it an installer, in WPF I can create a setup.exe and setup.msi file and have clients install it on there PC. But I can't do it in .net Maui blazor hybrid. Thank you.

ImproVice
Автор

Thanks for this! I've been searching for days, reading docs and this was exactly what I needed! In 30 seconds, I was running. I'm new to MAUI/WinUI3 and I'm having trouble sorting out exactly what the purpose of are, how they affect how the application runs and with what restrictions.

terryhenning
Автор

Hello how can I change color of statusbar like dark and light using apptheme. St bar is default color is primary

reslerooo
Автор

Any way to have it produce a SingleFile .exe?

dusrdev
Автор

May good fortune and prosperity shine upon your descendants for generations to come.

zlozlozlo
Автор

Does this way is valid for publishing via "Self-Contained"?

cyrildouglas
Автор

How do I set the exe to be x86 version?

pranitchavan
Автор

Ok, what are those "prerequisites" ? Care to give some examples?

mateuszwojtaszek
Автор

Output is huge tho :/ Long gone are thr days where the whole program would be a single 1mb PE :/

root
Автор

Distribution from app to Windows machine(s) must be done manually? Is there no store infrastructure, as with android & iOS? Or somethiing like UWP?

TheVincent