32 references to wrapperTool
Microsoft.Build.Tasks.Core (18)
ResolveComReference.cs (17)
372string wrapperType = projectRefInfo.taskItem.GetMetadata(ComReferenceItemMetadataNames.wrapperTool); 783if (ComReferenceTypes.IsAxImp(axRefInfo.taskItem.GetMetadata(ComReferenceItemMetadataNames.wrapperTool))) 789string tlbWrapperType = tlbRefInfo.taskItem.GetMetadata(ComReferenceItemMetadataNames.wrapperTool); 829newTlbRef.taskItem.SetMetadata(ComReferenceItemMetadataNames.wrapperTool, ComReferenceTypes.primaryortlbimp); 895Log.LogMessageFromResources(MessageImportance.Low, "ResolveComReference.Resolving", referenceInfo.taskItem.ItemSpec, referenceInfo.taskItem.GetMetadata(ComReferenceItemMetadataNames.wrapperTool)); 905referenceInfo.taskItem.GetMetadata(ComReferenceItemMetadataNames.wrapperTool), 957string wrapperType = projectRefInfo.taskItem.GetMetadata(ComReferenceItemMetadataNames.wrapperTool); 1083wrapperType = referenceInfo.taskItem.GetMetadata(ComReferenceItemMetadataNames.wrapperTool); 1333if (ComReferenceTypes.IsTlbImp(projectRefInfo.taskItem.GetMetadata(ComReferenceItemMetadataNames.wrapperTool))) 1481if (reference.GetMetadata(ComReferenceItemMetadataNames.wrapperTool).Length > 0) 1484missingOrInvalidMetadata = ComReferenceItemMetadataNames.wrapperTool; 1485string wrapperTool = reference.GetMetadata(ComReferenceItemMetadataNames.wrapperTool); 1523if (reference.GetMetadata(ComReferenceItemMetadataNames.wrapperTool).Length == 0) 1525reference.SetMetadata(ComReferenceItemMetadataNames.wrapperTool, ComReferenceTypes.tlbimp); 1537if (reference.GetMetadata(ComReferenceItemMetadataNames.wrapperTool).Length == 0) 1539reference.SetMetadata(ComReferenceItemMetadataNames.wrapperTool, ComReferenceTypes.tlbimp); 1558string wrapperType = projectRefInfo.taskItem.GetMetadata(ComReferenceItemMetadataNames.wrapperTool);
ResolveNativeReference.cs (1)
323itemTypeLib.SetMetadata(ComReferenceItemMetadataNames.wrapperTool, ComReferenceTypes.tlbimp);
Microsoft.Build.Tasks.UnitTests (14)
ResolveComReference_Tests.cs (14)
34item.SetMetadata(ComReferenceItemMetadataNames.wrapperTool, "tlbimp"); 138item.SetMetadata(ComReferenceItemMetadataNames.wrapperTool, "crowbar"); 139AssertReference(item, false, ComReferenceItemMetadataNames.wrapperTool); 143item.RemoveMetadata(ComReferenceItemMetadataNames.wrapperTool); 169item.RemoveMetadata(ComReferenceItemMetadataNames.wrapperTool); 171AssertMetadataInitialized(item, ComReferenceItemMetadataNames.wrapperTool, ComReferenceTypes.tlbimp); 175item.SetMetadata(ComReferenceItemMetadataNames.wrapperTool, ComReferenceTypes.aximp); 177AssertMetadataInitialized(item, ComReferenceItemMetadataNames.wrapperTool, ComReferenceTypes.aximp); 190item.RemoveMetadata(ComReferenceItemMetadataNames.wrapperTool); 192AssertMetadataInitialized(item, ComReferenceItemMetadataNames.wrapperTool, ComReferenceTypes.tlbimp); 196item.SetMetadata(ComReferenceItemMetadataNames.wrapperTool, ComReferenceTypes.aximp); 198AssertMetadataInitialized(item, ComReferenceItemMetadataNames.wrapperTool, ComReferenceTypes.aximp); 212item.SetMetadata(ComReferenceItemMetadataNames.wrapperTool, wrapperType); 436Assert.Equal(ComReferenceTypes.primaryortlbimp, newTlbInfo.taskItem.GetMetadata(ComReferenceItemMetadataNames.wrapperTool)); // "The added reference should have the tlbimp/primary wrapper tool"