11 references to PackageType
Microsoft.DotNet.Build.Tasks.Workloads (7)
CreateVisualStudioWorkload.wix.cs (4)
368swixProjectItem.SetMetadata(Metadata.PackageType, DefaultValues.PackageTypeMsiPack); 417swixProjectItem.SetMetadata(Metadata.PackageType, DefaultValues.PackageTypeMsiPack); 446swixProjectItem.SetMetadata(Metadata.PackageType, DefaultValues.PackageTypeMsiManifest); 473swixProjectItem.SetMetadata(Metadata.PackageType, DefaultValues.PackageTypeComponent);
CreateVisualStudioWorkloadSet.wix.cs (1)
89swixProjectItem.SetMetadata(Metadata.PackageType, DefaultValues.PackageTypeMsiWorkloadSet);
Metadata.cs (1)
34public static readonly string PackageType = nameof(PackageType);
Swix\PackageGroupSwixProject.wix.cs (1)
84swixProjectItem.SetMetadata(Metadata.PackageType, packageGroupType);
Microsoft.DotNet.Build.Tasks.Workloads.Tests (4)
CreateVisualStudioWorkloadSetTests.cs (2)
69Assert.Equal(DefaultValues.PackageTypeMsiWorkloadSet, workloadSetSwixItem.GetMetadata(Metadata.PackageType)); 80s => s.GetMetadata(Metadata.PackageType).Equals(DefaultValues.PackageTypeWorkloadSetPackageGroup)).
CreateVisualStudioWorkloadTests.cs (1)
152IEnumerable<ITaskItem> swixComponentProjects = createWorkloadTask.SwixProjects.Where(s => s.GetMetadata(Metadata.PackageType).Equals(DefaultValues.PackageTypeComponent));
SwixPackageGroupTests.cs (1)
43Assert.Equal(DefaultValues.PackageTypeManifestPackageGroup, packageGroupItem.GetMetadata(Metadata.PackageType));