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);
1286
env.
SetCurrentDirectory
(folder.Path);
Microsoft.Build.Engine.UnitTests (3)
BackEnd\BuildManager_Tests.cs (1)
4109
env.
SetCurrentDirectory
(Environment.CurrentDirectory);
BackEnd\IntrinsicTask_Tests.cs (2)
1826
env.
SetCurrentDirectory
(Environment.CurrentDirectory);
2526
env.
SetCurrentDirectory
(projectDirectory.Path);
Microsoft.Build.Tasks.UnitTests (6)
CreateCSharpManifestResourceName_Tests.cs (5)
424
env.
SetCurrentDirectory
(Path.GetDirectoryName(resourceFile.Path));
460
env.
SetCurrentDirectory
(env.DefaultTestDirectory.Path);
498
env.
SetCurrentDirectory
(Path.GetDirectoryName(resXFile.Path));
563
env.
SetCurrentDirectory
(Path.GetDirectoryName(resXFile.Path));
599
env.
SetCurrentDirectory
(Path.GetDirectoryName(resXFile.Path));
ResourceHandling\GenerateResource_Tests.cs (1)
3669
env.
SetCurrentDirectory
(env.DefaultTestDirectory.Path);
Microsoft.Build.Utilities.UnitTests (1)
ToolTask_Tests.cs (1)
660
env.
SetCurrentDirectory
(tempDirectory);