16 references to PrimarySourceItem
Microsoft.Build.Tasks.Core (16)
AssemblyDependency\Reference.cs (1)
996
PrimarySourceItem
,
AssemblyDependency\ReferenceTable.cs (14)
929
var implementationFile = reference.
PrimarySourceItem
.GetMetadata(ItemMetadataNames.winmdImplmentationFile);
1265
string frameworkReferenceName = reference.
PrimarySourceItem
.GetMetadata(ItemMetadataNames.frameworkReferenceName);
1339
_externallyResolvedImmutableFiles[resolvedPath] = GetAssemblyNameFromItemMetadata(reference.
PrimarySourceItem
);
1494
if (string.Equals(dependeeItemSpec, assemblyReference.
PrimarySourceItem
.ItemSpec, StringComparison.OrdinalIgnoreCase))
1538
logExclusionReason?.Invoke(true, assemblyName, assemblyReference, assemblyReference.
PrimarySourceItem
, subsetName);
1550
if (assemblyReference.IsPrimary && assemblyReference.
PrimarySourceItem
.ItemSpec.Equals(itemSpec, StringComparison.OrdinalIgnoreCase))
2689
if (reference.
PrimarySourceItem
!= null)
2691
reference.
PrimarySourceItem
.CopyMetadataTo(referenceItem);
2798
if (reference.
PrimarySourceItem
!= null)
2800
referenceItem.SetMetadata(ItemMetadataNames.projectReferenceOriginalItemSpec, reference.
PrimarySourceItem
.GetMetadata("OriginalItemSpec"));
3071
_log.LogWarningWithCodeFromResources("ResolveAssemblyReference.PrimaryReferenceOutsideOfFramework", reference.
PrimarySourceItem
.ItemSpec /* primary item spec*/, reference.ReferenceVersion /*Version of dependent assembly*/, reference.ExclusionListLoggingProperties.HighestVersionInRedist /*Version found in redist*/);
3086
_log.LogWarningWithCodeFromResources("ResolveAssemblyReference.PrimaryReferenceOutsideOfFrameworkUsingAttribute", reference.
PrimarySourceItem
.ItemSpec /* primary item spec*/, reference.FrameworkNameAttribute /*Version of dependent assembly*/, targetedFramework);
3101
_log.LogWarningWithCodeFromResources("ResolveAssemblyReference.PrimaryReferenceInAnotherFramework", reference.
PrimarySourceItem
.ItemSpec /* primary item spec*/, targetedFramework);
3116
_log.LogWarningWithCodeFromResources("ResolveAssemblyReference.FailedToResolveReferenceBecausePrimaryAssemblyInExclusionList", reference.
PrimarySourceItem
.ItemSpec, targetedFramework);
AssemblyDependency\ResolveAssemblyReference.cs (1)
1346
.Append(ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword("ResolveAssemblyReference.UnResolvedPrimaryItemSpec", conflictCandidate.
PrimarySourceItem
));