Toolbox for Maui is empty

Lloyd Sheen 1,376 Reputation points
2022-08-19T16:01:37.157+00:00

Add new Maui project. Toolbox is empty. Attempt to load is a complete failure as this menu item does not bring any Maui controls in the add dialog.

Somehow production ready is not applicable to Maui at least in terms of VS 2022.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,863 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Rob Caplan - MSFT 5,412 Reputation points Microsoft Employee
    2022-08-19T19:41:06.61+00:00

    Updated information, raised from the comment below.

    The MAUI ToolBox experience hasn't yet been specifically implemented. What you are seeing appears to be coming from the Xamarin ToolBox and is not designed for this MAUI context. The proper MAUI ToolBox experience is planned for a future release. Keep an eye on the release notes for upcoming Visual Studio previews.

    ---------

    This is expected behavior, as Visual Studio does not contain a Xaml designer for MAUI (nor does Xamarin Forms, since VS 16.9). The Toolbox lists items valid in the currently open designer.

    See the .Net MAUI XAML Overview

    There is no visual designer for producing XAML in .NET MAUI apps. All XAML must be hand-written, but you can use XAML hot reload to view your UI as you edit it.

    There is an open proposal requesting one in the MAUI GitHub repo at Winforms like designer with optional hot reload xaml window #3439