Skip to content

Add error codes to Warnings #1560

@joj

Description

@joj

There is a LogCodedWarning method in Utilities (https://github.com/xamarin/xamarin-android/blob/master/src/Xamarin.Android.Build.Tasks/Utilities/MSBuildExtensions.cs#L119) that is never used, as far as I can tell. We need warnings to provide proper error codes, so VS can show them in the correct column in the error list and we can react automatically to known errors that may be fixed easily.

As part of this, we need to make sure that LogCodedError is used instead of LogError (or that LogError is always used with errorCode as a parameter), for the same reason.

VS bug #601721

Metadata

Metadata

Labels

Area: App+Library BuildIssues when building Library projects or Application projects.enhancementProposed change to current functionality.vs-syncFor internal use only; creates a VSTS "mirror" issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions