558 references to GetTempPath
AnalyzerRunner (1)
Aspire.Cli.Tests (2)
Aspire.Dashboard.Tests (3)
Aspire.EndToEnd.Tests (4)
Aspire.Hosting.Garnet.Tests (1)
Aspire.Hosting.Kafka.Tests (1)
Aspire.Hosting.Keycloak.Tests (2)
Aspire.Hosting.Milvus.Tests (1)
Aspire.Hosting.MongoDB.Tests (3)
Aspire.Hosting.MySql.Tests (2)
Aspire.Hosting.PostgreSQL.Tests (3)
Aspire.Hosting.Python.Tests (1)
Aspire.Hosting.Qdrant.Tests (1)
Aspire.Hosting.Redis.Tests (1)
Aspire.Hosting.Seq.Tests (1)
Aspire.Hosting.SqlServer.Tests (1)
Aspire.Hosting.Tests (10)
Aspire.Hosting.Valkey.Tests (1)
Aspire.Templates.Tests (4)
Binding.UDS.IntegrationTests (2)
BuildValidator (1)
csc (2)
csi (1)
dotnet-svcutil-lib (2)
dotnet-svcutil-lib.Tests (6)
dotnet-user-jwts (1)
dotnet-user-secrets (1)
FilesWebSite (1)
IdeBenchmarks (1)
IIS.FunctionalTests (1)
IIS.LongTests (1)
IIS.NewHandler.FunctionalTests (1)
IIS.NewShim.FunctionalTests (1)
IIS.ShadowCopy.Tests (2)
IISExpress.FunctionalTests (1)
Interop.FunctionalTests (1)
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (9)
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
Microsoft.AspNetCore.DataProtection.Tests (1)
Microsoft.AspNetCore.FunctionalTests (3)
Microsoft.AspNetCore.Http (1)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.InternalTesting.Tests (1)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Microsoft.AspNetCore.OpenApi.Build.Tests (2)
Microsoft.AspNetCore.Server.IntegrationTesting (2)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
Microsoft.AspNetCore.Tests (13)
WebApplicationTests.cs (13)
389var contentRoot = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
409var contentRoot = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
466var contentRoot = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString());
500var contentRoot = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
529var contentRoot = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
571var contentRoot = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
786var contentRoot = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
829var contentRoot = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
878var contentRoot = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
1077var contentRoot = Path.GetTempPath().ToString();
2247var contentRoot = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
2279ContentRootPath = Path.GetTempPath()
2298Assert.Equal(Path.GetTempPath(), hostEnv.ContentRootPath);
Microsoft.AspNetCore.WebUtilities (2)
Microsoft.AspNetCore.WebUtilities.Tests (1)
Microsoft.Build (3)
Microsoft.Build.BuildCheck.UnitTests (1)
Microsoft.Build.CommandLine.UnitTests (5)
Microsoft.Build.Engine.OM.UnitTests (22)
Microsoft.Build.Engine.UnitTests (47)
Evaluation\Evaluator_Tests.cs (25)
332string tempPath = Path.GetTempPath();
461string tempPath = Path.GetTempPath();
533string tempPath = Path.GetTempPath();
580string tempPath = Path.GetTempPath();
622string tempPath = Path.GetTempPath();
668string tempPath = Path.GetTempPath();
714string tempPath = Path.GetTempPath();
758string tempPath = Path.GetTempPath();
804string tempPath = Path.GetTempPath();
1156directory = Path.Combine(Path.GetTempPath(), "fol$der");
1157directory2 = Path.Combine(Path.GetTempPath(), "fol$der" + Path.DirectorySeparatorChar + "fol$der2");
2272string directory = Path.Combine(Path.GetTempPath(), "ImportWildcardsRelative");
2284string directory = Path.Combine(Path.GetTempPath(), "ImportWildcardsRelative2");
2299string directory = Path.Combine(Path.GetTempPath(), "ImportWildcardsRelative3");
2321string directory = Path.Combine(Path.GetTempPath(), "ImportWildcardsFullPath");
3422string projectDirectory = Path.Combine(Path.GetTempPath(), "VerifyPropertySetInImportStillOverrides");
3483string projectDirectory = Path.Combine(Path.GetTempPath(), "VerifyTreatAsLocalPropertyInImportDoesntAffectParentProjectAboveIt");
3543string projectDirectory = Path.Combine(Path.GetTempPath(), "VerifyTreatAsLocalPropertyInImportAffectsParentProjectBelowIt");
3615string projectDirectory = Path.Combine(Path.GetTempPath(), "VerifyTreatAsLocalPropertyUnionBetweenImports");
3688string projectDirectory = Path.Combine(Path.GetTempPath(), "VerifyDuplicateTreatAsLocalProperty");
3753string projectDirectory = Path.Combine(Path.GetTempPath(), "VerifyGlobalPropertyPassedToP2P");
3815string projectDirectory = Path.Combine(Path.GetTempPath(), "VerifyLocalPropertyPropagatesIfExplicitlyPassedToP2P");
4400string projectDirectory = Path.Combine(Path.GetTempPath(), "VerifyDTDProcessingIsDisabled");
4553string projectDirectory = Path.Combine(Path.GetTempPath(), "ThrownInvalidProjectExceptionProperlyHandled");
5086string tempPath = Path.GetTempPath();
Microsoft.Build.Framework.UnitTests (1)
Microsoft.Build.Tasks.CodeAnalysis (2)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (2)
Microsoft.Build.Tasks.Core (3)
Microsoft.Build.Tasks.UnitTests (146)
AssemblyDependency\ResolveAssemblyReferenceTestFixture.cs (6)
382Path.Combine(Path.GetTempPath(), @"RawFileNameRelative\System.Xml.dll"),
383Path.Combine(Path.GetTempPath(), @"RelativeAssemblyFiles\System.Xml.dll"),
887Path.GetTempPath()
1203if (String.Equals(path, Path.Combine(Path.GetTempPath(), @"RawFileNameRelative\System.Xml.dll"), StringComparison.OrdinalIgnoreCase))
1208if (String.Equals(path, Path.Combine(Path.GetTempPath(), @"RelativeAssemblyFiles\System.Xml.dll"), StringComparison.OrdinalIgnoreCase))
2989string tempPath = Path.GetTempPath();
ResolveSDKReference_Tests.cs (45)
123string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "TestMaxPlatformVersionWithTargetFrameworkVersion");
462string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "VerifyDependsOnWarningFromManifest");
577string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "Prefer32bit1");
632string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "Prefer32bit2");
690string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "Prefer32bit3");
745string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "Prefer32bit4");
800string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "Prefer32bit5");
855string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "Prefer32bit6");
912string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "Prefer32bit7");
967string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "Prefer32bit8");
1021string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "Prefer32bit9");
1491string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "SDKFoundButBadlyFormattedSDKManifestWarnings");
1550string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "SDKFoundButBadlyFormattedSDKManifestErrors");
1601string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "TestMaxPlatformVersionWithTargetFrameworkVersion");
1707string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "EmptySDKManifestAttributes");
1792string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "OverrideManifestAttributes");
1890string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "GoodManifestMatchingConfigAndArch");
1963string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "GoodManifestMatchingConfigOnly");
2032string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "NoCopyOnPlatformIdentityFound");
2099string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "GoodManifestMatchingConfigOnly");
2173string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "ManifestOnlyHasArmLocation");
2241string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "ManifestArmLocationWithOthers");
2312string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "MatchNoNamesButNamesExistWarning");
2384string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "MatchNoNamesButNamesExistError");
2453string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "SingleSupportedArchitectureMatchesProject");
2526string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "ProductFamilySetInManifest");
2591string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "ProductFamilySetInManifestAndMetadata");
2658string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "SupportsMultipleVersionsNotInManifest");
2722string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "SupportsMultipleVersionsBadMetadata");
2790string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "ConflictsBetweenSameProductFamilySameName");
2888string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "ConflictsBetweenSameProductFamilyDiffName");
2986string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "ConflictsBetweenSameProductFamilyDiffName");
3099string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "ConflictsBetweenSameSDKName");
3205string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "SupportsMultipleVersionsVerifyManifestReading");
3279string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "OverrideManifestWithMetadata");
3356string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "OverrideManifestWithMetadataButMetadataDoesNotMatch");
3422string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "OverrideManifestWithMetadata");
3500string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "SingleSupportedArchitectureDoesNotMatchProject");
3564string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "MultipleSupportedArchitectureMatchesProject");
3636string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "MultipleSupportedArchitectureMatchesProject");
3704string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "GatherSDKOutputGroupsWithFramework");
3847string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "GatherSDKOutputGroupsWithFramework");
3991string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "GatherSDKOutputGroupsTargetArchitectureDoesNotExists");
4100string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "CheckDefaultingOfTargetConfigAndArchitecture");
4220string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "CheckDefaultingOfTargetConfigAndArchitecture");
WriteCodeFragment_Tests.cs (25)
84task.OutputDirectory = new TaskItem(Path.GetTempPath());
89string file = Path.Combine(Path.GetTempPath(), "CombineFileDirectory.tmp");
175string folder = Path.Combine(Path.GetTempPath(), "foo" + Path.DirectorySeparatorChar);
197string file = Path.Combine(Path.GetTempPath(), "NoAttributesShouldEmitNoFile.tmp");
224string file = Path.Combine(Path.GetTempPath(), "NoAttributesShouldEmitNoFile.tmp");
286string file = Path.Combine(Path.GetTempPath(), "OneAttribute.tmp");
325task.OutputDirectory = new TaskItem(Path.GetTempPath());
351task.OutputDirectory = new TaskItem(Path.GetTempPath());
377task.OutputDirectory = new TaskItem(Path.GetTempPath());
382Assert.Equal(Path.GetTempPath(), task.OutputFile.ItemSpec.Substring(0, Path.GetTempPath().Length));
415string file = Path.Combine(Path.GetTempPath(), "OneAttribute.tmp");
458task.OutputDirectory = new TaskItem(Path.GetTempPath());
480task.OutputDirectory = new TaskItem(Path.GetTempPath());
504task.OutputDirectory = new TaskItem(Path.GetTempPath());
528task.OutputDirectory = new TaskItem(Path.GetTempPath());
560task.OutputDirectory = new TaskItem(Path.GetTempPath());
596task.OutputDirectory = new TaskItem(Path.GetTempPath());
628task.OutputDirectory = new TaskItem(Path.GetTempPath());
651task.OutputDirectory = new TaskItem(Path.GetTempPath());
674task.OutputDirectory = new TaskItem(Path.GetTempPath());
699task.OutputDirectory = new TaskItem(Path.GetTempPath());
732task.OutputDirectory = new TaskItem(Path.GetTempPath());
1071task.OutputDirectory = new TaskItem(Path.GetTempPath());
1097return CreateTask(language, new TaskItem(Path.GetTempPath()), null, attributes);
Microsoft.Build.UnitTests.Shared (6)
Microsoft.Build.Utilities.Core (2)
Microsoft.Build.Utilities.UnitTests (33)
ToolLocationHelper_Tests.cs (32)
70string tempDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
78string tempDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
102string tempDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
170string platformRootFolder = Path.Combine(Path.GetTempPath(), @"MockSDK");
231string tempDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
256string tempDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
281string tempDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
307string tempDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
335string tempDirectory = Path.Combine(Path.GetTempPath(), "VGPTDNFSFN40");
402string tempPath = Path.GetTempPath();
421string tempPath = Path.GetTempPath();
454string tempDirectory = Path.Combine(Path.GetTempPath(), "VGPTDNFSF40");
606string tempPath = Path.GetTempPath();
1396string tempDirectory = Path.Combine(Path.GetTempPath(), "ChainReferenceAssembliesRedistExistsChain");
1438string tempDirectory = Path.Combine(Path.GetTempPath(), "ChainReferenceAssembliesRedistExistsNoInclude");
1468string tempDirectory = Path.Combine(Path.GetTempPath(), "ChainReferenceAssembliesRedistExistsNoInclude");
1498string tempDirectory = Path.Combine(Path.GetTempPath(), "ChainReferenceAssembliesRedistExistsNoFileList");
1527string tempDirectory = Path.Combine(Path.GetTempPath(), "ChainReferenceAssembliesRedistExistsBadFile");
1558string tempDirectory = Path.Combine(Path.GetTempPath(), "ChainReferenceAssembliesRedistPointsToInvalidInclude");
1594string tempDirectory = Path.Combine(Path.GetTempPath(), "ChainReferenceAssembliesRedistInvalidPathChars");
1628string tempDirectory = Path.Combine(Path.GetTempPath(), "ChainReferenceAssembliesRedistPathTooLong");
1671string tempDirectory = Path.Combine(Path.GetTempPath(), "GetPathToReferenceAssembliesWithRootGoodWithChain");
1736string tempDirectory = Path.Combine(Path.GetTempPath(), "DisplayNameGeneration");
1793string tempDirectory = Path.Combine(Path.GetTempPath(), "GetPathToReferenceAssembliesWithRootCircularReference");
3130string tmpRootDirectory = Path.GetTempPath();
3281string manifestPath = Path.Combine(Path.GetTempPath(), "ManifestTmp");
3416string manifestPath = Path.Combine(Path.GetTempPath(), "ManifestTmp");
3546string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "VerifyGetInstalledSDKLocations");
3615string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "VerifyGetInstalledSDKLocations2");
4110string testDirectoryRoot = Path.Combine(Path.GetTempPath(), "VerifyFindRootFolderWhereAllFilesExist");
4422string tempPath = Path.Combine(Path.GetTempPath(), "FakeSDKDirectory");
4545string tempPath = Path.Combine(Path.GetTempPath(), "FakeSDKDirectory2");
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.InteractiveHost (1)
Microsoft.CodeAnalysis.LanguageServer (2)
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
Microsoft.CodeAnalysis.PublicApiAnalyzers.UnitTests (1)
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
Microsoft.CodeAnalysis.Scripting (1)
Microsoft.CodeAnalysis.Scripting.TestUtilities (2)
Microsoft.CodeAnalysis.Test.Utilities (4)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (2)
MockVisualBasicCompiler.vb (2)
26MyClass.New(responseFile, CreateBuildPaths(baseDirectory, Path.GetTempPath()), args, analyzer)
34MyClass.New(responseFile, CreateBuildPaths(workingDirectory, Path.GetTempPath()), args, analyzers, generators, additionalReferences)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (5)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (5)
ProjectGuardFiles.cs (5)
19File.WriteAllText(Path.Combine(Path.GetTempPath(), "global.json"),
26File.WriteAllText(Path.Combine(Path.GetTempPath(), "Directory.Build.props"),
44File.WriteAllText(Path.Combine(Path.GetTempPath(), "Directory.Build.rsp"),
49File.WriteAllText(Path.Combine(Path.GetTempPath(), "Directory.Build.targets"),
58File.WriteAllText(Path.Combine(Path.GetTempPath(), "NuGet.Config"),
Microsoft.DotNet.Arcade.Sdk.Tests (2)
Microsoft.DotNet.Build.Tasks.Templating.Tests (3)
Microsoft.DotNet.Build.Tasks.VisualStudio.Tests (4)
Microsoft.DotNet.Build.Tasks.Workloads.Tests (3)
Microsoft.DotNet.Helix.Sdk (1)
Microsoft.DotNet.Internal.SymbolHelper (2)
Microsoft.DotNet.MacOsPkg.Core (2)
Microsoft.DotNet.NuGetRepack.Tasks (2)
Microsoft.DotNet.NuGetRepack.Tests (6)
Microsoft.DotNet.Open.Api.Tools.Tests (1)
Microsoft.DotNet.RemoteExecutor (2)
Microsoft.DotNet.SignCheckLibrary (1)
Microsoft.DotNet.SignTool.Tests (2)
Microsoft.Extensions.AI.Evaluation.Integration.Tests (1)
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (2)
Microsoft.Extensions.ApiDescription.Client.Tests (2)
Microsoft.Extensions.ApiDescription.Tool.Tests (9)
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (1)
Microsoft.Extensions.SecretManager.Tools.Tests (5)
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
Microsoft.Gen.MetadataExtractor.Unit.Tests (3)
Microsoft.Gen.MetricsReports.Unit.Tests (3)
Microsoft.ML.AutoML.Samples (2)
Microsoft.ML.Core (3)
Microsoft.ML.Maml (1)
Microsoft.ML.TensorFlow.Tests (3)
Microsoft.ML.Tests (4)
Microsoft.ML.Tokenizers.Data.Tests (1)
Microsoft.ML.Tokenizers.Tests (1)
Microsoft.VisualBasic.Core (1)
Microsoft.VisualBasic.Forms (1)
Microsoft.VisualBasic.Forms.Tests (7)
Microsoft.VisualBasic.IntegrationTests (1)
Microsoft.VisualBasic.Tests (1)
Microsoft.VisualStudio.LanguageServices (5)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (6)
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (2)
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
MSBuild (2)
MSBuildTaskHost (2)
PresentationCore (1)
PresentationFramework (1)
Replay (2)
Roslyn.VisualStudio.Next.UnitTests (2)
RulesetToEditorconfigConverter.UnitTests (1)
System.Formats.Tar (2)
System.IO.MemoryMappedFiles (1)
System.IO.Pipes (1)
System.Private.CoreLib (2)
System.Private.Windows.Core.TestUtilities (2)
System.Windows.Forms.Design.Tests (2)
System.Windows.Forms.Primitives (1)
System.Windows.Forms.Primitives.Tests (1)
System.Windows.Forms.Tests (2)
System.Windows.Forms.UI.IntegrationTests (1)
Templates.Blazor.WebAssembly.Auth.Tests (1)
Templates.Blazor.WebAssembly.Tests (1)
Templates.Mvc.Tests (1)
Templates.Tests (1)
vbc (2)
VBCSCompiler (3)
VBCSCompiler.UnitTests (6)
vbi (1)