Language

AssemblyConflictWarningEventArgs Class

Definition

Reports an unresolved assembly version conflict (MSB3277). The structured details identify the victor, the victim, and their dependency chains. The Message is rendered in invariant English from the structured details.

public ref class AssemblyConflictWarningEventArgs sealed : Microsoft::Build::Framework::BuildWarningEventArgs
[System.Serializable]
public sealed class AssemblyConflictWarningEventArgs : Microsoft.Build.Framework.BuildWarningEventArgs
[<System.Serializable>]
type AssemblyConflictWarningEventArgs = class
    inherit BuildWarningEventArgs
Public NotInheritable Class AssemblyConflictWarningEventArgs
Inherits BuildWarningEventArgs
Inheritance
Attributes

Properties

Name Description
BuildEventContext

Event contextual information for the build event argument

(Inherited from BuildEventArgs)
Code

Code associated with event.

(Inherited from BuildWarningEventArgs)
ColumnNumber

Column number of interest in associated file.

(Inherited from BuildWarningEventArgs)
EndColumnNumber

Ending column number of interest in associated file.

(Inherited from BuildWarningEventArgs)
EndLineNumber

Ending line number of interest in associated file.

(Inherited from BuildWarningEventArgs)
File

File associated with event.

(Inherited from BuildWarningEventArgs)
HelpKeyword

Custom help keyword associated with event.

(Inherited from BuildEventArgs)
HelpLink

A link pointing to more information about the warning.

(Inherited from BuildWarningEventArgs)
LineNumber

Line number of interest in associated file.

(Inherited from BuildWarningEventArgs)
LossReason

Gets the reason the victim lost the conflict.

Message

Gets the formatted message.

ProjectFile

The project which was building when the message was issued.

(Inherited from BuildWarningEventArgs)
RawMessage

Exposes the underlying message field without side-effects. Used for serialization.

(Inherited from BuildEventArgs)
RawTimestamp

Exposes the private timestamp field to derived types. Used for serialization. Avoids the side effects of calling the Timestamp getter.

(Inherited from BuildEventArgs)
SenderName

Name of the object sending this event.

(Inherited from BuildEventArgs)
SimpleAssemblyName

Gets the simple (short) name of the assembly for which conflicting versions were found.

Subcategory

The custom sub-type of the event.

(Inherited from BuildWarningEventArgs)
ThreadId

The thread that raised event.

(Inherited from BuildEventArgs)
Timestamp

The time when event was raised.

(Inherited from BuildEventArgs)
Victim

Gets the details of the reference that lost the conflict.

Victor

Gets the details of the reference that won the conflict.

Methods

Name Description
FormatMessage(CultureInfo)

Formats the message using resources and argument formatting for the specified culture.

Applies to