Skip to content

set EnableMauiXamlDiagnostics to true in templates, and for all debug builds #32047

@StephaneDelcroix

Description

@StephaneDelcroix
	public bool EnableDiagnostics
	{
		get
		{
			if (Options.IsTrue("build_metadata.additionalfiles.EnableDiagnostics"))
				return true;
			if (Options.IsFalse("build_metadata.additionalfiles.EnableDiagnostics"))
				return false;
			return Options.IsTrue("build_property.EnableMauiXamlDiagnostics");
		}
	}

Metadata

Metadata

Assignees

No one assigned

    Labels

    s/triagedIssue has been reviewedxsgXaml sourceGen

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions