addMauiProject
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addMauiProject( name: string, projectPath: string): MauiProjectResource;}Signature
method
addMauiProject builderAdds a .NET MAUI project to the application model. This resource can be used to create platform-specific resources.
addMauiProject( name: string, projectPath: string): MauiProjectResourceParameters
namestringThe name of the resource.projectPath stringThe path to the .NET MAUI project file (.csproj). This can be a relative or absolute path.Returns
MauiProjectResource Applies to
This method applies to the following types: