9 references to AttemptToShortenPath
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\IntrinsicTasks\MSBuild.cs (2)
319AbsolutePath projectPath = TaskEnvironment.GetAbsolutePath(FileUtilities.AttemptToShortenPath(project.ItemSpec)); 561string projectPath = FileUtilities.AttemptToShortenPath(projects[i].ItemSpec);
Microsoft.Build.Framework (4)
FileUtilities.cs (4)
1204filePath = AttemptToShortenPath(filePath); 1238fullPath = AttemptToShortenPath(fullPath); 1262fullPath = AttemptToShortenPath(fullPath); 1286fullPath = AttemptToShortenPath(fullPath);
Microsoft.Build.Tasks.Core (3)
FileState.cs (1)
87_filename = FileUtilities.AttemptToShortenPath(filename); // This is no-op unless the path actually is too long
MSBuild.cs (2)
279string projectPath = FileUtilities.AttemptToShortenPath(project.ItemSpec); 512string projectPath = FileUtilities.AttemptToShortenPath(projects[i].ItemSpec);