15 references to GetCurrentDirectory
Microsoft.Build (10)
BackEnd\BuildManager\BuildParameters.cs (1)
65private static string s_startupDirectory = NativeMethodsShared.GetCurrentDirectory();
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
905entryToComplete.RequestConfiguration.SavedCurrentDirectory = NativeMethodsShared.GetCurrentDirectory(); 1336_requestEntry.RequestConfiguration.SavedCurrentDirectory = NativeMethodsShared.GetCurrentDirectory();
BackEnd\Node\InProcNode.cs (2)
143_savedCurrentDirectory = NativeMethodsShared.GetCurrentDirectory(); 478_savedCurrentDirectory = NativeMethodsShared.GetCurrentDirectory();
Construction\ProjectRootElement.cs (3)
179_directory = NativeMethodsShared.GetCurrentDirectory(); 204_directory = NativeMethodsShared.GetCurrentDirectory(); 261_directory = NativeMethodsShared.GetCurrentDirectory();
FileUtilities.cs (1)
1253return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.GetCurrentDirectory().Length + path.Length + 1 /* slash */ >= maxPath;
Instance\TaskFactories\TaskHostTask.cs (1)
270NativeMethodsShared.GetCurrentDirectory(),
Microsoft.Build.Engine.OM.UnitTests (2)
Construction\ProjectRootElement_Tests.cs (1)
1771Assert.Equal(NativeMethodsShared.GetCurrentDirectory(), rootElement.DirectoryPath);
FileUtilities.cs (1)
1253return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.GetCurrentDirectory().Length + path.Length + 1 /* slash */ >= maxPath;
Microsoft.Build.Tasks.Core (1)
FileUtilities.cs (1)
1253return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.GetCurrentDirectory().Length + path.Length + 1 /* slash */ >= maxPath;
Microsoft.Build.Utilities.Core (1)
FileUtilities.cs (1)
1253return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.GetCurrentDirectory().Length + path.Length + 1 /* slash */ >= maxPath;
MSBuild (1)
FileUtilities.cs (1)
1253return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.GetCurrentDirectory().Length + path.Length + 1 /* slash */ >= maxPath;