17 references to Normalize
Microsoft.NET.Sdk.StaticWebAssets.Tasks (14)
Data\StaticWebAsset.cs (4)
564
var normalizedPrefix = prefix != null ?
Normalize
(prefix) : "";
744
BasePath =
Normalize
(BasePath);
745
RelativePath =
Normalize
(RelativePath, allowEmpyPath: true);
1061
var prefix = pathPrefix != null ?
Normalize
(pathPrefix) : "";
DefineStaticWebAssetEndpoints.cs (2)
187
var finalRoute = asset.IsProject() || asset.IsPackage() ? StaticWebAsset.
Normalize
(Path.Combine(asset.BasePath, route)) : route;
246
var finalRoute = asset.IsProject() || asset.IsPackage() ? StaticWebAsset.
Normalize
(Path.Combine(asset.BasePath, route)) : route;
DefineStaticWebAssets.cs (5)
146
relativePathCandidate = StaticWebAsset.
Normalize
(match.Stem);
256
relativePathCandidate = StaticWebAsset.
Normalize
(fingerprintPatternMatcher.AppendFingerprintPattern(matchContext, identity));
414
var normalizedPath = StaticWebAsset.
Normalize
(relativePath, allowEmpyPath: true);
422
var normalizedPath = StaticWebAsset.
Normalize
(targetPath, allowEmpyPath: true);
430
var normalizedPath = StaticWebAsset.
Normalize
(linkPath, allowEmpyPath: true);
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..]);
Microsoft.NET.Sdk.StaticWebAssets.Tests (3)
StaticWebAssetEndpointsIntegrationTest.cs (2)
556
.Select(a => StaticWebAsset.
Normalize
(Path.GetRelativePath(Path.Combine(outputDirectory, "wwwroot"), a)))];
574
endpoints.Add(StaticWebAsset.
Normalize
(pathSoFar));
StaticWebAssets\GenerateStaticWebAssetsDevelopmentManifestTest.cs (1)
368
("index.html", CreateMatchNode(0, StaticWebAsset.
Normalize
(filePath)))),