3 writes to NativeAssets
Microsoft.DotNet.Build.Tasks.Packaging (2)
GeneratePackageReport.cs (1)
146
NativeAssets
= nativeAssets.Select(n => GetPackageAssetFromTargetPath(n)).ToArray()
PackageReport.cs (1)
116
CompileAssets = RuntimeAssets =
NativeAssets
= s_emptyPackageAsset;
Microsoft.DotNet.Build.Tasks.Packaging.Tests (1)
ValidateHarvestVersionIsLatestForReleaseTests.cs (1)
100
NativeAssets
= new PackageAsset[]
6 references to NativeAssets
Microsoft.DotNet.Build.Tasks.Packaging (6)
GetApplicableAssetsFromPackageReports.cs (2)
82
nativeAssets.AddRange(target.
NativeAssets
.Select(r => ItemFromApplicableAsset(r, report.Id, report.Version)));
83
buildProjects.AddRange(target.
NativeAssets
.Select(r => r.SourceProject).Where(bp => bp != null));
GetLayoutFiles.cs (1)
107
layoutFiles.AddRange(CreateLayoutFiles(target.
NativeAssets
, $"runtimes\\{rid}\\native", "Native"));
PackageReport.cs (2)
128
public bool ShouldSerializeNativeAssets() { return
NativeAssets
!= null &&
NativeAssets
.Length != 0; }
ValidateHarvestVersionIsLatestForRelease.cs (1)
91
foreach (PackageAsset nativeAsset in packageTarget.Value.
NativeAssets
.NullAsEmpty())