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