10 writes to Assets
Microsoft.NET.Sdk.StaticWebAssets.Tests (10)
StaticWebAssets\ComputeStaticWebAssetsForCurrentProjectTest.cs (10)
27
Assets
= new[] { CreateCandidate("wwwroot\\candidate.js", "MyPackage", "Discovered", "candidate.js", "All", "All") },
52
Assets
= new[]
82
Assets
= new[]
115
Assets
= new[] { CreateCandidate("wwwroot\\candidate.js", "MyPackage", "Discovered", "candidate.js", assetKind, "All") },
140
Assets
= new[] { CreateCandidate("wwwroot\\candidate.js", "MyPackage", "Discovered", "candidate.js", "All", "CurrentProject") },
165
Assets
= new[] { CreateCandidate("wwwroot\\candidate.js", "MyPackage", "Discovered", "candidate.js", "All", "Reference") },
190
Assets
= new[] { CreateCandidate("wwwroot\\candidate.js", "MyPackage", "Discovered", "candidate.js", "All", "CurrentProject") },
215
Assets
= new[] { CreateCandidate("wwwroot\\candidate.js", "MyPackage", "Discovered", "candidate.js", "All", "Reference") },
240
Assets
= new[] { CreateCandidate("wwwroot\\candidate.js", "Other", "Project", "candidate.js", "All", "All") },
265
Assets
= new[] { CreateCandidate("wwwroot\\candidate.js", "Other", "Package", "candidate.js", "All", "All") },
2 references to Assets
Microsoft.NET.Sdk.StaticWebAssets.Tasks (2)
ComputeStaticWebAssetsForCurrentProject.cs (2)
31
var currentProjectAssets = StaticWebAsset.AssetsByTargetPath(
Assets
, Source, AssetKind);
58
.Concat(
Assets
.Where(asset => !StaticWebAsset.HasSourceId(asset, Source)))