21 references to GetPathWithDirectorySeparator
NuGet.Build.Tasks.Pack (2)
GetProjectReferencesFromAssetsFileTask.cs (1)
73
PathUtility.
GetPathWithDirectorySeparator
(library.MSBuildProject)))));
PackTaskLogic.cs (1)
930
PathUtility.
GetPathWithDirectorySeparator
(library.MSBuildProject))),
NuGet.Commands (1)
MSBuildProjectFactory.cs (1)
267
var projectDirectoryWithSeparatorChar = PathUtility.
GetPathWithDirectorySeparator
(projectDirectory);
NuGet.Configuration (1)
Utility\SettingsUtility.cs (1)
380
path = PathUtility.
GetPathWithDirectorySeparator
(path!);
NuGet.Packaging (17)
PackageCreation\Authoring\ManifestFile.cs (1)
34
_target = string.IsNullOrEmpty(value) ? value : PathUtility.
GetPathWithDirectorySeparator
(value!);
PackageCreation\Authoring\PackageBuilder.cs (2)
610
foreach (string destination in files.Where(t => t.Path != null).Select(t => PathUtility.
GetPathWithDirectorySeparator
(t.Path)))
724
foreach (var file in files.Where(t => t.Path != null).Select(t => PathUtility.
GetPathWithDirectorySeparator
(t.Path)))
Rules\ContentFolderInPackageReferenceProjectRule.cs (2)
25
.Select(t => PathUtility.
GetPathWithDirectorySeparator
(t))
31
.Select(t => PathUtility.
GetPathWithDirectorySeparator
(t))
Rules\DependenciesGroupsForEachTFMRule.cs (1)
30
Where(t => PathUtility.
GetPathWithDirectorySeparator
(t).Count(m => m == Path.DirectorySeparatorChar) > 1);
Rules\InstallScriptInPackageReferenceProjectRule.cs (1)
22
.Select(t => PathUtility.
GetPathWithDirectorySeparator
(t))
Rules\InvalidFrameworkFolderRule.cs (1)
27
foreach (var file in builder.GetFiles().Select(t => PathUtility.
GetPathWithDirectorySeparator
(t)))
Rules\InvalidUndottedFrameworkRule.cs (1)
193
foreach (var file in files.Select(t => PathUtility.
GetPathWithDirectorySeparator
(t)))
Rules\MisplaceAssemblyOutsideLibRule.cs (1)
37
var file = PathUtility.
GetPathWithDirectorySeparator
(packageFile);
Rules\MisplacedAssemblyUnderLibRule.cs (1)
24
var file = PathUtility.
GetPathWithDirectorySeparator
(packageFile);
Rules\MisplacedScriptFileRule.cs (1)
27
foreach (var file in builder.GetFiles().Select(t => PathUtility.
GetPathWithDirectorySeparator
(t)))
Rules\MisplacedTransformFileRule.cs (1)
29
foreach (var file in builder.GetFiles().Select(t => PathUtility.
GetPathWithDirectorySeparator
(t)))
Rules\UnrecognizedScriptFileRule.cs (1)
26
foreach (var file in builder.GetFiles().Select(t => PathUtility.
GetPathWithDirectorySeparator
(t)))
Rules\WinRTNameIsObsoleteRule.cs (2)
25
foreach (var file in builder.GetFiles().Select(t => PathUtility.
GetPathWithDirectorySeparator
(t)))
29
if (file.StartsWith(PathUtility.
GetPathWithDirectorySeparator
(prefix), StringComparison.OrdinalIgnoreCase))
Rules\XdtTransformsInPackageReferenceProjectRule.cs (1)
31
.Select(t => PathUtility.
GetPathWithDirectorySeparator
(t)))