-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Blazor Desktop
Eilon Lipton edited this page Jun 10, 2021
·
14 revisions
- Install required .NET MAUI dependencies using the
maui-check
tool as described in the samples repo. - Use one of the following solutions to build the code or run the samples:
-
BlazorWindows-net6.sln
: For .NET MAUI WinUI, WPF, and Windows Forms -
BlazorNonWindows-net6.sln
: For .NET MAUI Android, iOS, and Mac Catalyst - Note: The
BlazorWindowsDesktop-net6.sln
solution is for CI/build purposes only.
-
- To change the samples to use Blazor UI instead of native UI, edit these files:
- For multi-project samples, edit
src/Controls/samples/Controls.Sample/Startup.cs
and set_pageType = PageType.Blazor
- For single-project samples, edit
src/Controls/samples/Controls.Sample.SingleProject/Startup.cs
and setUseBlazor = true
- For multi-project samples, edit