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);
1264
string frameworkReferenceName = reference.
PrimarySourceItem
.GetMetadata(ItemMetadataNames.frameworkReferenceName);
1338
_externallyResolvedImmutableFiles[resolvedPath] = GetAssemblyNameFromItemMetadata(reference.
PrimarySourceItem
);
1493
if (string.Equals(dependeeItemSpec, assemblyReference.
PrimarySourceItem
.ItemSpec, StringComparison.OrdinalIgnoreCase))
1537
logExclusionReason?.Invoke(true, assemblyName, assemblyReference, assemblyReference.
PrimarySourceItem
, subsetName);
1549
if (assemblyReference.IsPrimary && assemblyReference.
PrimarySourceItem
.ItemSpec.Equals(itemSpec, StringComparison.OrdinalIgnoreCase))
2688
if (reference.
PrimarySourceItem
!= null)
2690
reference.
PrimarySourceItem
.CopyMetadataTo(referenceItem);
2797
if (reference.
PrimarySourceItem
!= null)
2799
referenceItem.SetMetadata(ItemMetadataNames.projectReferenceOriginalItemSpec, reference.
PrimarySourceItem
.GetMetadata("OriginalItemSpec"));
3070
_log.LogWarningWithCodeFromResources("ResolveAssemblyReference.PrimaryReferenceOutsideOfFramework", reference.
PrimarySourceItem
.ItemSpec /* primary item spec*/, reference.ReferenceVersion /*Version of dependent assembly*/, reference.ExclusionListLoggingProperties.HighestVersionInRedist /*Version found in redist*/);
3085
_log.LogWarningWithCodeFromResources("ResolveAssemblyReference.PrimaryReferenceOutsideOfFrameworkUsingAttribute", reference.
PrimarySourceItem
.ItemSpec /* primary item spec*/, reference.FrameworkNameAttribute /*Version of dependent assembly*/, targetedFramework);
3100
_log.LogWarningWithCodeFromResources("ResolveAssemblyReference.PrimaryReferenceInAnotherFramework", reference.
PrimarySourceItem
.ItemSpec /* primary item spec*/, targetedFramework);
3115
_log.LogWarningWithCodeFromResources("ResolveAssemblyReference.FailedToResolveReferenceBecausePrimaryAssemblyInExclusionList", reference.
PrimarySourceItem
.ItemSpec, targetedFramework);
AssemblyDependency\ResolveAssemblyReference.cs (1)
1346
.Append(ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword("ResolveAssemblyReference.UnResolvedPrimaryItemSpec", conflictCandidate.
PrimarySourceItem
));