18 references to Normalize
Microsoft.NET.Sdk.StaticWebAssets.Tasks (18)
Data\StaticWebAsset.cs (5)
906
var normalizedPrefix = prefix != null ?
Normalize
(prefix) : "";
1134
BasePath =
Normalize
(BasePath);
1135
RelativePath =
Normalize
(RelativePath, allowEmpyPath: true);
1237
var destPath = Path.Combine(fxDir,
Normalize
(fileSystemRelativePath));
1531
var prefix = pathPrefix != null ?
Normalize
(pathPrefix) : "";
Data\StaticWebAssetEndpoint.cs (1)
622
var normalizedOldBase = oldBasePath is null or "/" ? "" : StaticWebAsset.
Normalize
(oldBasePath);
DefineStaticWebAssetEndpoints.cs (3)
233
var finalRoute = asset.IsProject() || asset.IsPackage() ? StaticWebAsset.
Normalize
(Path.Combine(asset.BasePath, route)) : route;
291
newRoute = StaticWebAsset.
Normalize
(newRoute);
352
var finalRoute = asset.IsProject() || asset.IsPackage() ? StaticWebAsset.
Normalize
(Path.Combine(asset.BasePath, route)) : route;
DefineStaticWebAssets.cs (6)
166
relativePathCandidate = StaticWebAsset.
Normalize
(match.Stem);
266
relativePathCandidate = StaticWebAsset.
Normalize
(fingerprintPatternMatcher.AppendFingerprintPattern(matchContext, identity));
478
var normalizedPath = StaticWebAsset.
Normalize
(relativePath, allowEmpyPath: true);
486
var normalizedPath = StaticWebAsset.
Normalize
(targetPath, allowEmpyPath: true);
494
var normalizedPath = StaticWebAsset.
Normalize
(linkPath, allowEmpyPath: true);
860
var newRelativePath = StaticWebAsset.
Normalize
(rpMatch.Stem);
GenerateStaticWebAssetEndpointsPropsFile.cs (2)
55
var fullPathExpression = $"""$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\{StaticWebAsset.
Normalize
(PackagePathPrefix)}\{StaticWebAsset.
Normalize
(path).Replace("/", "\\")}'))""";
GenerateStaticWebAssetsDevelopmentManifest.cs (1)
324
return StaticWebAsset.
Normalize
(asset.Identity[asset.ContentRoot.Length..]);