microsoft / microsoft-ui-xaml

Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
MIT License
6.28k stars 675 forks source link

Proposal: Provide Sample + Guidance for Loading WinUI 3 in PowerShell #9577

Open nkasco opened 4 months ago

nkasco commented 4 months ago

Proposal: Provide Sample + Guidance for Loading WinUI 3 in PowerShell

Summary

Provide guidance as well as a Hello World sample solution that runs a basic WinUI 3 form within a PowerShell 7 host

Rationale

There are many sysadmins who create PowerShell based tools and desire a visually appealing, modern, UI Framework other than WinForm or WPF. There doesn't seem to be guidance available to identify the required dependencies that must be loaded.

These UIs generally do not need to be extremely complex, nor do they require full feature parity, but when used they provide improved experiences for sysadmins that create tools to make their lives easier.

Sent here to request this via: https://github.com/microsoft/microsoft-ui-xaml/discussions/9572#discussioncomment-9218219

Scope

Important Notes

Open Questions

github-actions[bot] commented 4 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Open similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

HotCakeX commented 4 months ago

Totally agree and I need this too. I've been trying to find "any" information about how to create a simple proof of concept WinUI3 UI, nothing fancy just a window and a button or text, in PowerShell core that uses modern .NET but there is literally no information that can be found, I also asked around a lot and nobody knew how to do this task.

So I think only Microsoft can provide us with samples and guides to use WinUI3 in PowerShell.