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