21 references to EnsureTrailingSlash
Microsoft.Build.Utilities.Core (21)
FileUtilities.cs (1)
1311
return
EnsureTrailingSlash
(s);
FrameworkLocationHelper.cs (1)
1535
this._pathToDotNetFrameworkReferenceAssemblies = FileUtilities.
EnsureTrailingSlash
(referencePath);
TargetPlatformSDK.cs (1)
108
set => _path = value != null ? FileUtilities.
EnsureTrailingSlash
(value) : null;
TempFileUtilities.cs (1)
74
return FileUtilities.
EnsureTrailingSlash
(basePath);
ToolLocationHelper.cs (5)
662
legacyWindowsMetadataLocation = FileUtilities.
EnsureTrailingSlash
(legacyWindowsMetadataLocation);
2424
referenceAssemblyPath = FileUtilities.
EnsureTrailingSlash
(referenceAssemblyPath);
2550
targetPlatformSDK.ExtensionSDKs.Add(SDKKey, FileUtilities.
EnsureTrailingSlash
(sdkVersionDirectory.FullName));
2823
targetPlatformSDK.ExtensionSDKs.Add(sdkKey, FileUtilities.
EnsureTrailingSlash
(directoryName));
3053
sdk.Platforms.Add(sdkKey, FileUtilities.
EnsureTrailingSlash
(platformVersion.FullName));
TrackedDependencies\CanonicalTrackedInputFiles.cs (1)
593
string currentProjectDirectory = FileUtilities.
EnsureTrailingSlash
(Directory.GetCurrentDirectory());
TrackedDependencies\CanonicalTrackedOutputFiles.cs (1)
113
string currentProjectDirectory = FileUtilities.
EnsureTrailingSlash
(Directory.GetCurrentDirectory());
TrackedDependencies\FileTracker.cs (9)
86
private static readonly string s_tempShortPath = FileUtilities.
EnsureTrailingSlash
(NativeMethodsShared.GetShortFilePath(s_tempPath).ToUpperInvariant());
89
private static readonly string s_tempLongPath = FileUtilities.
EnsureTrailingSlash
(NativeMethodsShared.GetLongFilePath(s_tempPath).ToUpperInvariant());
92
private static readonly string s_applicationDataPath = FileUtilities.
EnsureTrailingSlash
(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData).ToUpperInvariant());
95
private static readonly string s_localApplicationDataPath = FileUtilities.
EnsureTrailingSlash
(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData).ToUpperInvariant());
99
private static readonly string s_localLowApplicationDataPath = FileUtilities.
EnsureTrailingSlash
(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "AppData\\LocalLow").ToUpperInvariant());
131
string defaultCommonApplicationDataPath = FileUtilities.
EnsureTrailingSlash
(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData).ToUpperInvariant());
135
string alternativeCommonApplicationDataPath1 = FileUtilities.
EnsureTrailingSlash
(Path.Combine(defaultRootDirectory, @"Documents and Settings\All Users\Application Data").ToUpperInvariant());
142
string alternativeCommonApplicationDataPath2 = FileUtilities.
EnsureTrailingSlash
(Path.Combine(defaultRootDirectory, @"Users\All Users\Application Data").ToUpperInvariant());
277
path = FileUtilities.
EnsureTrailingSlash
(path);
TrackedDependencies\FlatTrackingData.cs (1)
326
string fullexcludePath = FileUtilities.
EnsureTrailingSlash
(FileUtilities.NormalizePath(excludePath)).ToUpperInvariant();