17 references to Normalize
Microsoft.NET.Sdk.StaticWebAssets.Tasks (17)
Data\StaticWebAsset.cs (4)
888
var normalizedPrefix = prefix != null ?
Normalize
(prefix) : "";
1069
BasePath =
Normalize
(BasePath);
1070
RelativePath =
Normalize
(RelativePath, allowEmpyPath: true);
1391
var prefix = pathPrefix != null ?
Normalize
(pathPrefix) : "";
DefineStaticWebAssetEndpoints.cs (3)
226
var finalRoute = asset.IsProject() || asset.IsPackage() ? StaticWebAsset.
Normalize
(Path.Combine(asset.BasePath, route)) : route;
284
newRoute = StaticWebAsset.
Normalize
(newRoute);
345
var finalRoute = asset.IsProject() || asset.IsPackage() ? StaticWebAsset.
Normalize
(Path.Combine(asset.BasePath, route)) : route;
DefineStaticWebAssets.cs (6)
162
relativePathCandidate = StaticWebAsset.
Normalize
(match.Stem);
262
relativePathCandidate = StaticWebAsset.
Normalize
(fingerprintPatternMatcher.AppendFingerprintPattern(matchContext, identity));
473
var normalizedPath = StaticWebAsset.
Normalize
(relativePath, allowEmpyPath: true);
481
var normalizedPath = StaticWebAsset.
Normalize
(targetPath, allowEmpyPath: true);
489
var normalizedPath = StaticWebAsset.
Normalize
(linkPath, allowEmpyPath: true);
855
var newRelativePath = StaticWebAsset.
Normalize
(rpMatch.Stem);
GenerateStaticWebAssetEndpointsPropsFile.cs (2)
52
var fullPathExpression = $"""$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\{StaticWebAsset.
Normalize
(PackagePathPrefix)}\{StaticWebAsset.
Normalize
(path).Replace("/", "\\")}'))""";
GenerateStaticWebAssetsDevelopmentManifest.cs (1)
319
return StaticWebAsset.
Normalize
(asset.Identity[asset.ContentRoot.Length..]);
UpdatePackageStaticWebAssets.cs (1)
141
var destPath = Path.Combine(fxDir, StaticWebAsset.
Normalize
(fileSystemRelativePath));