15 references to GetRelativePath
aspire (1)
Projects\ProjectLocator.cs (1)
146var relativePath = Path.GetRelativePath(settingsFile.Directory.FullName, projectFile.FullName).Replace(Path.DirectorySeparatorChar, '/');
Aspire.Cli.Tests (2)
Projects\ProjectLocatorTests.cs (2)
57appHostPath = Path.GetRelativePath(aspireSettingsFile.Directory!.FullName, targetAppHostProjectFile.FullName) 93appHostPath = Path.GetRelativePath(aspireSettingsFile.Directory!.FullName, targetAppHostProjectFile.FullName)
Aspire.Hosting (1)
Publishing\ManifestPublishingContext.cs (1)
66var relativePath = Path.GetRelativePath(manifestDirectory, normalizedPath);
Microsoft.AspNetCore.Components.WebView.Photino (1)
BlazorWindow.cs (1)
48var hostPageRelativePath = Path.GetRelativePath(contentRootDir, hostPage);
Microsoft.AspNetCore.Components.WebView.WindowsForms (2)
BlazorWebView.cs (2)
188 var contentRootRelativePath = Path.GetRelativePath(appRootDir, contentRootDirFullPath); 189 var hostPageRelativePath = Path.GetRelativePath(contentRootDirFullPath, hostPageFullPath);
Microsoft.AspNetCore.Components.WebView.Wpf (2)
BlazorWebView.cs (2)
271 var hostPageRelativePath = Path.GetRelativePath(contentRootDirFullPath, hostPageFullPath); 272 var contentRootDirRelativePath = Path.GetRelativePath(appRootDir, contentRootDirFullPath);
Microsoft.DotNet.Build.Tasks.Feed (1)
src\PublishArtifactsInManifestBase.cs (1)
777string relativePath = Path.GetRelativePath(pdbArtifactsBasePath, looseFile);
PrepareTests (3)
MinimizeUtil.cs (3)
76var currentRelativeDirectory = Path.GetRelativePath(sourceDirectory, currentDirName); 189var destFileName = Path.GetRelativePath(group.Key, tuple.FilePath.RelativePath); 235var destFilePath = Path.GetRelativePath(group.Key, tuple.FilePath.RelativePath);
PresentationBuildTasks (1)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1606string path = Path.GetRelativePath(TargetPath + pathOfRelativeSourceFilePath, SourceFileInfo.SourcePath);
RunTests (1)
HelixTestRunner.cs (1)
477var relativePath = Path.GetRelativePath(payloadsDir, filePath);