17 references to Normalize
Microsoft.NET.Sdk.StaticWebAssets.Tasks (14)
Data\StaticWebAsset.cs (4)
564var normalizedPrefix = prefix != null ? Normalize(prefix) : ""; 744BasePath = Normalize(BasePath); 745RelativePath = Normalize(RelativePath, allowEmpyPath: true); 1061var prefix = pathPrefix != null ? Normalize(pathPrefix) : "";
DefineStaticWebAssetEndpoints.cs (2)
187var finalRoute = asset.IsProject() || asset.IsPackage() ? StaticWebAsset.Normalize(Path.Combine(asset.BasePath, route)) : route; 246var finalRoute = asset.IsProject() || asset.IsPackage() ? StaticWebAsset.Normalize(Path.Combine(asset.BasePath, route)) : route;
DefineStaticWebAssets.cs (5)
146relativePathCandidate = StaticWebAsset.Normalize(match.Stem); 256relativePathCandidate = StaticWebAsset.Normalize(fingerprintPatternMatcher.AppendFingerprintPattern(matchContext, identity)); 414var normalizedPath = StaticWebAsset.Normalize(relativePath, allowEmpyPath: true); 422var normalizedPath = StaticWebAsset.Normalize(targetPath, allowEmpyPath: true); 430var normalizedPath = StaticWebAsset.Normalize(linkPath, allowEmpyPath: true);
GenerateStaticWebAssetEndpointsPropsFile.cs (2)
52var fullPathExpression = $"""$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\{StaticWebAsset.Normalize(PackagePathPrefix)}\{StaticWebAsset.Normalize(path).Replace("/", "\\")}'))""";
GenerateStaticWebAssetsDevelopmentManifest.cs (1)
319return 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)))]; 574endpoints.Add(StaticWebAsset.Normalize(pathSoFar));
StaticWebAssets\GenerateStaticWebAssetsDevelopmentManifestTest.cs (1)
368("index.html", CreateMatchNode(0, StaticWebAsset.Normalize(filePath)))),