15 references to SetCurrentDirectory
Microsoft.Build (11)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
1097
NativeMethodsShared.
SetCurrentDirectory
(_requestEntry.ProjectRootDirectory);
1326
NativeMethodsShared.
SetCurrentDirectory
(_requestEntry.RequestConfiguration.SavedCurrentDirectory);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
417
NativeMethodsShared.
SetCurrentDirectory
(_buildRequestEntry.ProjectRootDirectory);
BackEnd\Node\InProcNode.cs (1)
336
NativeMethodsShared.
SetCurrentDirectory
(_savedCurrentDirectory);
BackEnd\Node\OutOfProcNode.cs (3)
476
NativeMethodsShared.
SetCurrentDirectory
(BuildEnvironmentHelper.Instance.CurrentMSBuildToolsDirectory);
705
NativeMethodsShared.
SetCurrentDirectory
(BuildParameters.StartupDirectory);
710
NativeMethodsShared.
SetCurrentDirectory
(BuildEnvironmentHelper.Instance.CurrentMSBuildToolsDirectory);
BackEnd\Node\OutOfProcServerNode.cs (2)
252
NativeMethodsShared.
SetCurrentDirectory
(BuildEnvironmentHelper.Instance.CurrentMSBuildToolsDirectory);
426
NativeMethodsShared.
SetCurrentDirectory
(BuildEnvironmentHelper.Instance.CurrentMSBuildToolsDirectory);
BackEnd\Shared\BuildRequestConfiguration.cs (2)
444
NativeMethodsShared.
SetCurrentDirectory
(BuildParameters.StartupDirectory);
449
NativeMethodsShared.
SetCurrentDirectory
(
Microsoft.Build.Tasks.UnitTests (1)
NativeMethodsShared_Tests.cs (1)
141
NativeMethodsShared.
SetCurrentDirectory
(nonexistentDirectory);
Microsoft.Build.Utilities.UnitTests (1)
NativeMethodsShared_Tests.cs (1)
141
NativeMethodsShared.
SetCurrentDirectory
(nonexistentDirectory);
MSBuild (2)
OutOfProcTaskHostNode.cs (2)
825
NativeMethodsShared.
SetCurrentDirectory
(BuildEnvironmentHelper.Instance.CurrentMSBuildToolsDirectory);
907
NativeMethodsShared.
SetCurrentDirectory
(taskConfiguration.StartupDirectory);