6 writes to CompileAssets
Microsoft.DotNet.Build.Tasks.Packaging (3)
GeneratePackageReport.cs (2)
114
CompileAssets
= compileAssets.Select(c => GetPackageAssetFromTargetPath(c)).ToArray()
144
CompileAssets
= compileAssets.Select(c => GetPackageAssetFromTargetPath(c)).ToArray(),
PackageReport.cs (1)
116
CompileAssets
= RuntimeAssets = NativeAssets = s_emptyPackageAsset;
Microsoft.DotNet.Build.Tasks.Packaging.Tests (3)
ValidateHarvestVersionIsLatestForReleaseTests.cs (3)
28
CompileAssets
= new PackageAsset[]
92
CompileAssets
= new PackageAsset[]
133
CompileAssets
= new PackageAsset[]
11 references to CompileAssets
Microsoft.DotNet.Build.Tasks.Packaging (11)
GetApplicableAssetsFromPackageReports.cs (2)
78
compileAssets.AddRange(target.
CompileAssets
.Select(c => ItemFromApplicableAsset(c, report.Id, report.Version)));
79
buildProjects.AddRange(target.
CompileAssets
.Select(c => c.SourceProject).Where(bp => bp != null));
GetLayoutFiles.cs (1)
103
layoutFiles.AddRange(CreateLayoutFiles(target.
CompileAssets
, $"ref\\{fxFolder}", "Compile"));
PackageReport.cs (2)
126
public bool ShouldSerializeCompileAssets() { return
CompileAssets
!= null &&
CompileAssets
.Length != 0; }
ValidateFrameworkPackage.cs (1)
97
return string.IsNullOrEmpty(Runtime) ? target.
CompileAssets
: target.RuntimeAssets;
ValidateHarvestVersionIsLatestForRelease.cs (1)
75
foreach (PackageAsset compileAsset in packageTarget.Value.
CompileAssets
.NullAsEmpty())
ValidatePackage.cs (4)
159
foreach (var compileAsset in _report.Targets.Values.SelectMany(t => t.
CompileAssets
)
186
var compileAssetPaths = compileTarget.
CompileAssets
.Select(ca => ca.PackagePath);
267
var referenceAssemblies = compileTarget.
CompileAssets
.Where(ca => IsDll(ca.PackagePath));
387
var allDlls = _report.Targets.Values.SelectMany(t => t.
CompileAssets
.NullAsEmpty().Concat(t.RuntimeAssets.NullAsEmpty()));