ResolveAssemblyReference.WarnOrErrorOnTargetArchitectureMismatch Property

Definition

If there is a mismatch between the targetprocessor architecture and the architecture of a primary reference.

When this is error, an error will be logged.

When this is warn, if there is a mismatch between the targetprocessor architecture and the architecture of a primary reference a warning will be logged.

When this is none, no error or warning will be logged.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
public string WarnOrErrorOnTargetArchitectureMismatch { get; set; }

Property Value

A string value of "Error", "Warning" or "None".

Applies to

Product Versions
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17