3 writes to RelativePath
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (3)
StaticWebAsset.cs (3)
713RelativePath = relativePath, 745RelativePath = Normalize(RelativePath, allowEmpyPath: true); 1431RelativePath = metadataValue;
27 references to RelativePath
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (27)
StaticWebAsset.cs (22)
62_relativePath = asset.RelativePath; 142get => _relativePath ??= GetOriginalItemMetadata(nameof(RelativePath)); 560RelativePath, separator); 613if (string.IsNullOrEmpty(RelativePath)) 615throw new InvalidOperationException($"The '{nameof(RelativePath)}' for the asset must be defined for '{Identity}'."); 745RelativePath = Normalize(RelativePath, allowEmpyPath: true); 888result = string.Compare(RelativePath, other.RelativePath, StringComparison.Ordinal); 980RelativePath == other.RelativePath && 1070var pathWithTokens = Path.Combine(prefix, computedBasePath, RelativePath) 1123$"RelativePath: {RelativePath}, " + 1151hash.Add(RelativePath); 1197var pattern = StaticWebAssetPathPattern.Parse(RelativePath, Identity); 1334nameof(RelativePath), 1387nameof(RelativePath) => RelativePath ?? "", 1430case nameof(RelativePath): 1496{ nameof(RelativePath), RelativePath ?? "" }, 1535destinationItem.SetMetadata(nameof(RelativePath), RelativePath ?? "");
UpgradeLegacyWasmStaticWebAssets.cs (5)
34if (string.Equals(Path.GetExtension(legacyAsset.RelativePath), ".gz", StringComparison.Ordinal)) 36var relatedPath = legacyAsset.RelativePath.Substring(0, legacyAsset.RelativePath.Length - 3); 43Log.LogError($"Could not find a corresponding asset for '{legacyAsset.RelativePath}'"); 47Log.LogMessage($"Upgrading '{legacyAsset.RelativePath}' to use '{relatedAsset.Identity}' as the related asset");