6 instantiations of PackageAsset
Microsoft.DotNet.Build.Tasks.Packaging (1)
GeneratePackageReport.cs (1)
360
var packageAsset = new
PackageAsset
()
Microsoft.DotNet.Build.Tasks.Packaging.Tests (5)
ValidateHarvestVersionIsLatestForReleaseTests.cs (5)
30
new
PackageAsset
{ HarvestedFrom = "TestPackage/4.6.2/ref/netstandard2.0/TestPackage.dll" }
94
new
PackageAsset
{ }
98
new
PackageAsset
{ }
102
new
PackageAsset
{ }
135
new
PackageAsset
{ HarvestedFrom = "TestPackage/4.6.2/ref/netstandard2.0/TestPackage.dll" }
26 references to PackageAsset
Microsoft.DotNet.Build.Tasks.Packaging (21)
GeneratePackageReport.cs (2)
352
private
PackageAsset
GetPackageAssetFromTargetPath(string targetPath)
360
var
packageAsset = new PackageAsset()
GetApplicableAssetsFromPackageReports.cs (1)
98
private ITaskItem ItemFromApplicableAsset(
PackageAsset
asset, string id, string version)
GetLayoutFiles.cs (1)
117
private IEnumerable<ITaskItem> CreateLayoutFiles(IEnumerable<
PackageAsset
> assets, string subFolder, string assetType)
PackageReport.cs (6)
30
public
PackageAsset
[] UnusedAssets { get; set; }
113
private static readonly
PackageAsset
[] s_emptyPackageAsset = new
PackageAsset
[0];
122
public
PackageAsset
[] CompileAssets { get; set; }
123
public
PackageAsset
[] RuntimeAssets { get; set; }
124
public
PackageAsset
[] NativeAssets { get; set; }
ValidateFrameworkPackage.cs (3)
49
var
testAsset = testAssetByName.Value;
85
private IEnumerable<
PackageAsset
> GetTestAssets(NuGetFramework fx, string runtimeId)
94
return Enumerable.Empty<
PackageAsset
>();
ValidateHarvestVersionIsLatestForRelease.cs (3)
75
foreach (
PackageAsset
compileAsset in packageTarget.Value.CompileAssets.NullAsEmpty())
83
foreach (
PackageAsset
runtimeAsset in packageTarget.Value.RuntimeAssets.NullAsEmpty())
91
foreach (
PackageAsset
nativeAsset in packageTarget.Value.NativeAssets.NullAsEmpty())
ValidatePackage.cs (5)
159
foreach (
var
compileAsset in _report.Targets.Values.SelectMany(t => t.CompileAssets)
274
foreach (
var
referenceAssembly in referenceAssemblies)
302
Dictionary<string,
PackageAsset
> implementationFiles = new Dictionary<string,
PackageAsset
>();
303
foreach (
var
implementationAssembly in implementationAssemblies)
Microsoft.DotNet.Build.Tasks.Packaging.Tests (5)
ValidateHarvestVersionIsLatestForReleaseTests.cs (5)
28
CompileAssets = new
PackageAsset
[]
92
CompileAssets = new
PackageAsset
[]
96
RuntimeAssets = new
PackageAsset
[]
100
NativeAssets = new
PackageAsset
[]
133
CompileAssets = new
PackageAsset
[]