1 // Copyright (c) Microsoft. All rights reserved. 2 // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 4 using System; 5 using System.IO; 6 using System.Collections; 7 using System.Reflection; 8 using System.Diagnostics; 9 using System.Globalization; 10 using Microsoft.Build.Shared; 11 using Microsoft.Build.Framework; 12 13 namespace Microsoft.Build.Tasks 14 { 15 /// <summary> 16 /// If this reference lost in a conflict with another reference, this reason explains 17 /// why. 18 /// </summary> 19 internal enum ConflictLossReason 20 { 21 /// <summary> 22 /// This reference didn't lose a conflict. 23 /// </summary> 24 DidntLose, 25 26 /// <summary> 27 /// This reference matched another assembly that had a higher version number. 28 /// </summary> 29 HadLowerVersion, 30 31 /// <summary> 32 /// The two assemblies cannot be reconciled. 33 /// </summary> 34 InsolubleConflict, 35 36 /// <summary> 37 /// In this case, this reference was a dependency and the other reference was 38 /// primary (specified in the project file). 39 /// </summary> 40 WasNotPrimary, 41 42 /// <summary> 43 /// The two references were equivalent according to fusion and also have the same version. 44 /// Its hard to see how this could happen, but handle it. 45 /// </summary> 46 FusionEquivalentWithSameVersion 47 } 48 } 49