17 references to SetCurrentDirectory
Microsoft.Build.BuildCheck.UnitTests (4)
EndToEndTests.cs (4)
170_env.SetCurrentDirectory(Path.Combine(workFolder.Path, entryProjectName)); 275_env.SetCurrentDirectory(Path.Combine(workFolder.Path, entryProjectName)); 378_env.SetCurrentDirectory(workFolder.Path); 964_env.SetCurrentDirectory(Path.GetDirectoryName(projectFile.Path));
Microsoft.Build.CommandLine.UnitTests (3)
MSBuildServer_Tests.cs (1)
332_env.SetCurrentDirectory(Path.GetDirectoryName(project.Path));
XMake_Tests.cs (2)
1269_env.SetCurrentDirectory(directory); 1286env.SetCurrentDirectory(folder.Path);
Microsoft.Build.Engine.UnitTests (3)
BackEnd\BuildManager_Tests.cs (1)
4109env.SetCurrentDirectory(Environment.CurrentDirectory);
BackEnd\IntrinsicTask_Tests.cs (2)
1826env.SetCurrentDirectory(Environment.CurrentDirectory); 2526env.SetCurrentDirectory(projectDirectory.Path);
Microsoft.Build.Tasks.UnitTests (6)
CreateCSharpManifestResourceName_Tests.cs (5)
424env.SetCurrentDirectory(Path.GetDirectoryName(resourceFile.Path)); 460env.SetCurrentDirectory(env.DefaultTestDirectory.Path); 498env.SetCurrentDirectory(Path.GetDirectoryName(resXFile.Path)); 563env.SetCurrentDirectory(Path.GetDirectoryName(resXFile.Path)); 599env.SetCurrentDirectory(Path.GetDirectoryName(resXFile.Path));
ResourceHandling\GenerateResource_Tests.cs (1)
3669env.SetCurrentDirectory(env.DefaultTestDirectory.Path);
Microsoft.Build.Utilities.UnitTests (1)
ToolTask_Tests.cs (1)
660env.SetCurrentDirectory(tempDirectory);