1 write to _package
Microsoft.DotNet.Build.Tasks.Workloads (1)
Msi\WorkloadPackMsi.wix.cs (1)
25_package = package;
10 references to _package
Microsoft.DotNet.Build.Tasks.Workloads (10)
Msi\WorkloadPackMsi.wix.cs (10)
19protected override string BaseOutputName => _package.ShortName; 32string directoryReference = _package.Kind == WorkloadPackKind.Library || _package.Kind == WorkloadPackKind.Template ? 40SourceDirectory = _package.DestinationDirectory 62Guid upgradeCode = Utils.CreateUuid(UpgradeCodeNamespaceUuid, $"{_package.Identity};{Platform}"); 63string providerKeyName = $"{_package.Id},{_package.PackageVersion},{Platform}"; 65candle.AddPreprocessorDefinition(PreprocessorDefinitionNames.InstallDir, $"{GetInstallDir(_package.Kind)}"); 68candle.AddPreprocessorDefinition(PreprocessorDefinitionNames.PackKind, $"{_package.Kind}"); 69candle.AddPreprocessorDefinition(PreprocessorDefinitionNames.SourceDir, $"{_package.DestinationDirectory}");