3 writes to ContentRoot
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (3)
22 references to ContentRoot
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (22)
StaticWebAsset.cs (22)
60_contentRoot = asset.ContentRoot;
122get => _contentRoot ??= GetOriginalItemMetadata(nameof(ContentRoot));
603if (string.IsNullOrEmpty(ContentRoot))
605throw new InvalidOperationException($"The '{nameof(ContentRoot)}' for the asset must be defined for '{Identity}'.");
743ContentRoot = !string.IsNullOrEmpty(ContentRoot) ? NormalizeContentRootPath(ContentRoot) : ContentRoot;
809string.Equals(ContentRoot, NormalizeContentRootPath(path), StringComparison.Ordinal);
876result = string.Compare(ContentRoot, other.ContentRoot, StringComparison.Ordinal);
978ContentRoot == other.ContentRoot &&
1121$"ContentRoot: {ContentRoot}, " +
1149hash.Add(ContentRoot);
1332nameof(ContentRoot),
1385nameof(ContentRoot) => ContentRoot ?? "",
1424case nameof(ContentRoot):
1494{ nameof(ContentRoot), ContentRoot ?? "" },
1533destinationItem.SetMetadata(nameof(ContentRoot), ContentRoot ?? "");