Skip to content

Add missing MAUI API docs #7463

@Eagle3386

Description

@Eagle3386

Description

Plenty of MAUI's API documentation is missing within VS IntelliSense, e. g. after typing

MauiApp.CreateBuilder().

none of the MauiAppBuilder extensions, e. g. UseMauiApp<T>() or even ConfigureFonts(), provide any information besides their method signature due to missing XML docs within their source code:

public static partial class AppHostBuilderExtensions
{
public static MauiAppBuilder UseMauiApp<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TApp>(this MauiAppBuilder builder)
where TApp : class, IApplication
{

}
public static MauiAppBuilder ConfigureFonts(this MauiAppBuilder builder, Action<IFontCollection>? configureDelegate)
{
builder.Services.TryAddSingleton<IEmbeddedFontLoader>(svc => new EmbeddedFontLoader(svc));

Steps to Reproduce

  1. Create a File > New .NET MAUI App
  2. Go to CreateMauiApp() inside MauiProgram.cs.
  3. At the line with MauiApp.CreateBuilder(), type a . after the closing parenthesis.

Version with bug

Release Candidate 3 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android, Windows, macOS, Other (Tizen, Linux, etc. not supported by Microsoft directly)

Affected platform versions

Any supported platform version up to now

Did you find any workaround?

Nope. 😢

Relevant log output

None available. 😢

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-docsConceptual docs, API docs, Samplesp/2Work that is important, but is currently not scheduled for releaseplatform/androidplatform/iosplatform/macosmacOS / Mac Catalystplatform/windowss/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingt/docs 📝

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions