15 references to GetCurrentDirectory
Microsoft.Build (10)
BackEnd\BuildManager\BuildParameters.cs (1)
67
private static string s_startupDirectory = NativeMethodsShared.
GetCurrentDirectory
();
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
905
entryToComplete.RequestConfiguration.SavedCurrentDirectory = NativeMethodsShared.
GetCurrentDirectory
();
1267
_requestEntry.RequestConfiguration.SavedCurrentDirectory = NativeMethodsShared.
GetCurrentDirectory
();
BackEnd\Node\InProcNode.cs (2)
143
_savedCurrentDirectory = NativeMethodsShared.
GetCurrentDirectory
();
468
_savedCurrentDirectory = NativeMethodsShared.
GetCurrentDirectory
();
Construction\ProjectRootElement.cs (3)
171
_directory = NativeMethodsShared.
GetCurrentDirectory
();
188
_directory = NativeMethodsShared.
GetCurrentDirectory
();
245
_directory = NativeMethodsShared.
GetCurrentDirectory
();
FileUtilities.cs (1)
1220
return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.
GetCurrentDirectory
().Length + path.Length + 1 /* slash */ >= maxPath;
Instance\TaskFactories\TaskHostTask.cs (1)
268
NativeMethodsShared.
GetCurrentDirectory
(),
Microsoft.Build.Engine.OM.UnitTests (2)
Construction\ProjectRootElement_Tests.cs (1)
1775
Assert.Equal(NativeMethodsShared.
GetCurrentDirectory
(), rootElement.DirectoryPath);
FileUtilities.cs (1)
1220
return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.
GetCurrentDirectory
().Length + path.Length + 1 /* slash */ >= maxPath;
Microsoft.Build.Tasks.Core (1)
FileUtilities.cs (1)
1220
return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.
GetCurrentDirectory
().Length + path.Length + 1 /* slash */ >= maxPath;
Microsoft.Build.Utilities.Core (1)
FileUtilities.cs (1)
1220
return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.
GetCurrentDirectory
().Length + path.Length + 1 /* slash */ >= maxPath;
MSBuild (1)
FileUtilities.cs (1)
1220
return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.
GetCurrentDirectory
().Length + path.Length + 1 /* slash */ >= maxPath;