9 references to GetTempFile
Microsoft.Build.CommandLine.UnitTests (1)
XMake_Tests.cs (1)
834string resultFile = env.GetTempFile(".tmp").Path;
Microsoft.Build.Engine.UnitTests (2)
BackEnd\SdkResolverLoader_Tests.cs (1)
317var assemblyToLoad = env.GetTempFile(".dll").Path;
Construction\ProjectImportElement_Tests.cs (1)
124rootElement.Save(env.GetTempFile(".csproj").Path);
Microsoft.Build.Tasks.UnitTests (6)
ResourceHandling\GenerateResource_Tests.cs (5)
328t.StateFile = new TaskItem(_env.GetTempFile(".cache").Path); 374t.StateFile = new TaskItem(_env.GetTempFile(".cache").Path); 456TaskItem stateFile = new TaskItem(_env.GetTempFile(".cache").Path); 2079t.StateFile = new TaskItem(env.GetTempFile(".cache").Path); 2085t.OutputResources = new ITaskItem[] { new TaskItem(env.GetTempFile(".resources").Path) };
WriteLinesToFile_Tests.cs (1)
355var file = testEnv.GetTempFile();