15 references to GetCurrentDirectory
Microsoft.Build (10)
BackEnd\BuildManager\BuildParameters.cs (1)
65
private static string s_startupDirectory = NativeMethodsShared.
GetCurrentDirectory
();
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
905
entryToComplete.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)
1253
return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.
GetCurrentDirectory
().Length + path.Length + 1 /* slash */ >= maxPath;
Instance\TaskFactories\TaskHostTask.cs (1)
270
NativeMethodsShared.
GetCurrentDirectory
(),
Microsoft.Build.Engine.OM.UnitTests (2)
Construction\ProjectRootElement_Tests.cs (1)
1771
Assert.Equal(NativeMethodsShared.
GetCurrentDirectory
(), rootElement.DirectoryPath);
FileUtilities.cs (1)
1253
return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.
GetCurrentDirectory
().Length + path.Length + 1 /* slash */ >= maxPath;
Microsoft.Build.Tasks.Core (1)
FileUtilities.cs (1)
1253
return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.
GetCurrentDirectory
().Length + path.Length + 1 /* slash */ >= maxPath;
Microsoft.Build.Utilities.Core (1)
FileUtilities.cs (1)
1253
return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.
GetCurrentDirectory
().Length + path.Length + 1 /* slash */ >= maxPath;
MSBuild (1)
FileUtilities.cs (1)
1253
return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.
GetCurrentDirectory
().Length + path.Length + 1 /* slash */ >= maxPath;