187 references to GetRandomFileName
Aspire.Dashboard.Tests (3)
Integration\StartupTests.cs (3)
135var configFilePath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 234var fileConfigDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 544var configFilePath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Aspire.Hosting.Garnet.Tests (1)
GarnetFunctionalTests.cs (1)
127bindMountPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Aspire.Hosting.Kafka.Tests (1)
KafkaFunctionalTests.cs (1)
138bindMountPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Aspire.Hosting.Keycloak.Tests (2)
KeycloakPublicApiTests.cs (2)
158var tempDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 189var tempDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Aspire.Hosting.Milvus.Tests (1)
MilvusFunctionalTests.cs (1)
96bindMountPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Aspire.Hosting.MongoDB.Tests (2)
MongoDbFunctionalTests.cs (2)
136bindMountPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 260var bindMountPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Aspire.Hosting.MySql.Tests (1)
MySqlFunctionalTests.cs (1)
305var bindMountPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Aspire.Hosting.PostgreSQL.Tests (2)
PostgresFunctionalTests.cs (2)
225bindMountPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 368var bindMountPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Aspire.Hosting.Python.Tests (1)
AddPythonAppTests.cs (1)
248var projectDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Aspire.Hosting.Qdrant.Tests (1)
QdrantFunctionalTests.cs (1)
116bindMountPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Aspire.Hosting.Redis.Tests (1)
RedisFunctionalTests.cs (1)
271var bindMountPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Aspire.Hosting.Seq.Tests (1)
SeqFunctionalTests.cs (1)
94bindMountPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Aspire.Hosting.SqlServer.Tests (1)
SqlServerFunctionalTests.cs (1)
155bindMountPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Aspire.Hosting.Tests (5)
ProjectResourceTests.cs (1)
45var projectDirectoryPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Schema\SchemaTests.cs (3)
50var tempContextPath = Path.Combine(tempPath, Path.GetRandomFileName()); 62var tempContextPath = Path.Combine(tempPath, Path.GetRandomFileName()); 80var tempContextPath = Path.Combine(tempPath, Path.GetRandomFileName());
Utils\DockerfileUtils.cs (1)
40var tempContextPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Aspire.Hosting.Valkey.Tests (1)
ValkeyFunctionalTests.cs (1)
83bindMountPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Aspire.Templates.Tests (1)
TemplateTestsBase.cs (1)
265=> (prefix is null ? "" : $"{prefix}_") + FixupSymbolName(Path.GetRandomFileName());
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.CodeDom\Compiler\TempFiles.cs (1)
307string randomFileName = Path.GetFileNameWithoutExtension(Path.GetRandomFileName());
dotnet-user-jwts (1)
src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
51var outputFile = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
dotnet-user-secrets (1)
src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
51var outputFile = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
FilesWebSite (1)
Controllers\DownloadFilesController.cs (1)
52var symlink = Path.Combine(_testFilesPath, Path.GetRandomFileName());
IdeBenchmarks (1)
SQLitePersistentStorageBenchmark.cs (1)
134var tempDir = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
IIS.ShadowCopy.Tests (2)
ShadowCopyTests.cs (2)
46var directoryName = Path.GetRandomFileName(); 347var directoryPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Microsoft.AspNetCore.DataProtection.Extensions.Tests (2)
DataProtectionProviderTests.cs (2)
51var keysPath = Path.Combine(AppContext.BaseDirectory, Path.GetRandomFileName()); 323string uniqueTempPath = Path.Combine(AppContext.BaseDirectory, Path.GetRandomFileName());
Microsoft.AspNetCore.FunctionalTests (3)
WebApplicationFunctionalTests.cs (3)
16var contentRootPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 59var contentRootPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 102var contentRootPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Microsoft.AspNetCore.Hosting.Tests (7)
HostingApplicationDiagnosticsTests.cs (3)
180var testSource = new ActivitySource(Path.GetRandomFileName()); 949var testSource = new ActivitySource(Path.GetRandomFileName()); 1021var testSource = new ActivitySource(Path.GetRandomFileName());
HostingApplicationTests.cs (4)
95var testSource = new ActivitySource(Path.GetRandomFileName()); 96var dummySource = new ActivitySource(Path.GetRandomFileName()); 137var testSource = new ActivitySource(Path.GetRandomFileName()); 138var dummySource = new ActivitySource(Path.GetRandomFileName());
Microsoft.AspNetCore.HttpLogging.Tests (9)
FileLoggerProcessorTests.cs (9)
34var path = Path.Combine(TempPath, Path.GetRandomFileName()); 70var path = Path.Combine(TempPath, Path.GetRandomFileName()); 112var path = Path.Combine(TempPath, Path.GetRandomFileName()); 152var path = Path.Combine(TempPath, Path.GetRandomFileName()); 207var path = Path.Combine(TempPath, Path.GetRandomFileName()); 272var path = Path.Combine(TempPath, Path.GetRandomFileName()); 358var path = Path.Combine(TempPath, Path.GetRandomFileName()); 421var path = Path.Combine(TempPath, Path.GetRandomFileName()); 490var path = Path.Combine(TempPath, Path.GetRandomFileName());
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
RuntimeViewCompiler.cs (1)
339var assemblyName = Path.GetRandomFileName();
Microsoft.AspNetCore.OpenApi.Build.Tests (2)
GenerateAdditionalXmlFilesForOpenApiTests.cs (2)
46var classLibTempPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 74var tempPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
ResponseCachingTests.cs (1)
25_absoluteFilePath = Path.Combine(Directory.GetCurrentDirectory(), Path.GetRandomFileName());
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISDeployer.cs (1)
514var tmpFile = Path.GetRandomFileName();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (9)
CertificatePathWatcherTests.cs (9)
22var fileName = Path.GetRandomFileName(); 122var fileName = Path.GetRandomFileName(); 172var fileName = Path.GetRandomFileName(); 211var dir = Path.Combine(Directory.GetCurrentDirectory(), Path.GetRandomFileName()); 239var fileName = Path.GetRandomFileName(); 273var fileName = Path.GetRandomFileName(); 313var fileName = Path.GetRandomFileName(); 344var fileName = Path.GetRandomFileName(); 404var fileName = Path.GetRandomFileName();
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
NamedPipesTransportBenchmark.cs (1)
41_pipeName = "MicrobenchmarksTestPipe-" + Path.GetRandomFileName();
Microsoft.AspNetCore.StaticFiles.Tests (2)
StaticFileMiddlewareTests.cs (2)
51var badLink = Path.Combine(AppContext.BaseDirectory, Path.GetRandomFileName() + ".txt"); 53Process.Start("ln", $"-s \"/tmp/{Path.GetRandomFileName()}\" \"{badLink}\"").WaitForExit();
Microsoft.AspNetCore.Tests (9)
WebApplicationTests.cs (9)
389var contentRoot = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 409var contentRoot = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 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()); 2247var contentRoot = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Microsoft.AspNetCore.WebUtilities.Tests (1)
FileBufferingWriteStreamTests.cs (1)
12private readonly string TempDirectory = Path.Combine(Path.GetTempPath(), "FileBufferingWriteTests", Path.GetRandomFileName());
Microsoft.Build (1)
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
401new ProjectImportsCollector(Path.GetRandomFileName(), false, runOnBackground: false);
Microsoft.Build.BuildCheck.UnitTests (1)
TestAssemblyInfo.cs (1)
68var subdirectory = Path.GetRandomFileName();
Microsoft.Build.CommandLine.UnitTests (1)
TestAssemblyInfo.cs (1)
68var subdirectory = Path.GetRandomFileName();
Microsoft.Build.Engine.OM.UnitTests (2)
Definition\ProjectItem_Tests.cs (1)
1985string projectDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
TestAssemblyInfo.cs (1)
68var subdirectory = Path.GetRandomFileName();
Microsoft.Build.Engine.UnitTests (4)
Construction\ElementLocation_Tests.cs (2)
105file = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 140file = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Evaluation\Expander_Tests.cs (1)
3420MockElementLocation mockElementLocation = new MockElementLocation(Path.Combine(ObjectModelHelpers.TempProjectDir, "one", "two", "three", "four", "five", Path.GetRandomFileName()));
TestAssemblyInfo.cs (1)
68var subdirectory = Path.GetRandomFileName();
Microsoft.Build.Framework.UnitTests (1)
TestAssemblyInfo.cs (1)
68var subdirectory = Path.GetRandomFileName();
Microsoft.Build.Tasks.UnitTests (6)
ResolveCodeAnalysisRuleSet_Tests.cs (5)
151string codeAnalysisRuleSet = Path.GetRandomFileName() + ".ruleset"; 203task.CodeAnalysisRuleSet = Path.GetRandomFileName() + ".ruleset"; 224string subdirectoryName = Path.GetRandomFileName(); 248string subdirectoryName = Path.GetRandomFileName(); 279string subdirectoryName = Path.GetRandomFileName();
TestAssemblyInfo.cs (1)
68var subdirectory = Path.GetRandomFileName();
Microsoft.Build.UnitTests.Shared (1)
DummyMappedDrive.cs (1)
22_mappedPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Microsoft.Build.Utilities.UnitTests (8)
TestAssemblyInfo.cs (1)
68var subdirectory = Path.GetRandomFileName();
ToolLocationHelper_Tests.cs (7)
70string tempDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 78string tempDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 102string tempDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 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());
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
StubSettingsManagerHost.cs (1)
32string ISettingsManagerHost.AppDir { get; } = Path.GetRandomFileName();
Microsoft.CodeAnalysis.Remote.Workspaces (1)
ExportProviderBuilder.cs (1)
156var tempFilePath = Path.Combine(directory, Path.GetRandomFileName());
Microsoft.CodeAnalysis.UnitTests (1)
AnalyzerAssemblyLoaderTests.cs (1)
278var path = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName() + ".dll");
Microsoft.DotNet.Arcade.Sdk.Tests (2)
GenerateResxSourceTests.cs (1)
29var actualFile = Path.Combine(AppContext.BaseDirectory, Path.GetRandomFileName());
Utilities\TestProjectFixture.cs (1)
42var instanceName = Path.GetRandomFileName();
Microsoft.DotNet.Build.Tasks.Feed.Tests (1)
PublishArtifactsInManifestTests.cs (1)
118string fakeNugetExeName = $"{Path.GetRandomFileName()}.exe";
Microsoft.DotNet.Build.Tasks.Workloads (2)
Swix\ComponentSwixProject.cs (1)
40$"{Path.GetRandomFileName()}");
Swix\PackageGroupSwixProject.wix.cs (1)
42$"{Path.GetRandomFileName()}");
Microsoft.DotNet.Build.Tasks.Workloads.Tests (1)
SwixPackageTests.cs (1)
44string PackageRootDirectory = Path.Combine(BaseIntermediateOutputPath, Path.GetRandomFileName());
Microsoft.DotNet.Internal.SymbolHelper (3)
SymbolUploadHelper.cs (2)
403string tempDir = Path.Combine(_workingDir, Path.GetRandomFileName()); 406tempDir = Path.Combine(_workingDir, Path.GetRandomFileName());
SymbolUploadHelperFactory.cs (1)
46installDirectory ??= Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Microsoft.DotNet.MacOsPkg.Core (2)
Package.cs (2)
64string tempDest = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 183string tempDir = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Microsoft.DotNet.RemoteExecutor (2)
RemoteInvokeHandle.cs (1)
157string miniDmpPath = Path.Combine(uploadPath, $"{Process.Id}.{Path.GetRandomFileName()}.dmp");
RemoteInvokeOptions.cs (1)
37public string ExceptionFile { get; } = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Microsoft.DotNet.SignCheckLibrary (4)
Verification\LinuxPackageVerifier.cs (1)
36string tempDir = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Verification\MachOVerifier.cs (1)
149string tempDir = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Verification\PkgVerifier.cs (1)
37string extractionPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Verification\SignatureVerificationResult.cs (1)
189_tempPath = Path.Combine(Path.GetTempPath(), "SignCheck", Path.GetRandomFileName());
Microsoft.DotNet.SignTool (2)
src\VerifySignatures.cs (2)
44string tempDir = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 85string tempDir = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Microsoft.DotNet.XliffTasks (1)
Model\Document.cs (1)
70string tempPath = Path.Combine(Path.GetDirectoryName(path), Path.GetRandomFileName());
Microsoft.Extensions.AI.Evaluation.Integration.Tests (1)
ResultsTests.cs (1)
33Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()),
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (13)
AzureStorage\AzureResponseCacheTests.cs (1)
35_dirClient = _fsClient?.GetDirectoryClient(Path.GetRandomFileName());
AzureStorage\AzureResultStoreTests.cs (1)
35_dirClient = _fsClient?.GetDirectoryClient(Path.GetRandomFileName());
DiskBased\DiskBasedResponseCacheTests.cs (1)
19string path = Path.Combine(Path.GetTempPath(), "M.E.AI.Eval.ResponseCacheTests", Path.GetRandomFileName());
DiskBased\DiskBasedResultStoreTests.cs (1)
18string path = Path.Combine(Path.GetTempPath(), "M.E.AI.Eval.ResultStoreTests", Path.GetRandomFileName());
ResultStoreTester.cs (9)
75string newExecutionName = $"Test Execution {Path.GetRandomFileName()}"; 114string firstExecutionName = $"Test Execution {Path.GetRandomFileName()}"; 124string secondExecutionName = $"Test Execution {Path.GetRandomFileName()}"; 134string thirdExecutionName = $"Test Execution {Path.GetRandomFileName()}"; 158string executionName = $"Test Execution {Path.GetRandomFileName()}"; 182string executionName0 = $"Test Execution {Path.GetRandomFileName()}"; 183string executionName1 = $"Test Execution {Path.GetRandomFileName()}"; 217string executionName = $"Test Execution {Path.GetRandomFileName()}"; 252string executionName = $"Test Execution {Path.GetRandomFileName()}";
Microsoft.Extensions.ApiDescription.Tool.Tests (8)
GetDocumentTests.cs (8)
26var outputPath = Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), Path.GetRandomFileName())); 52var outputPath = Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), Path.GetRandomFileName())); 78var outputPath = Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), Path.GetRandomFileName())); 105var outputPath = Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), Path.GetRandomFileName())); 139var outputPath = Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), Path.GetRandomFileName())); 168var outputPath = Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), Path.GetRandomFileName())); 195var outputPath = Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), Path.GetRandomFileName())); 221var outputPath = Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()));
Microsoft.ML.AutoML (1)
Experiment\Experiment.cs (1)
230var experimentDirFullPath = Path.Combine(tempDirectory, cacheDirectoryName, $"experiment_{Path.GetRandomFileName()}");
Microsoft.ML.AutoML.Tests (1)
TrialResultManagerTest.cs (1)
53var tempFilePath = Path.Combine(OutDir, Path.GetRandomFileName() + ".txt");
Microsoft.ML.Core (2)
Data\Repository.cs (2)
129var path = Path.Combine(mlNetTempDir, Path.GetRandomFileName()); 247string tempPath = Path.Combine(root, Path.GetRandomFileName());
Microsoft.ML.Data (1)
Commands\TrainTestCommand.cs (1)
191var tempFilePath = hasOutfile ? null : Path.Combine(((IHostEnvironmentInternal)Host).TempFilePath, Path.GetRandomFileName());
Microsoft.ML.IntegrationTests (2)
DataIO.cs (2)
121var filePath = TestCommon.GetOutputPath(OutDir, Path.GetRandomFileName()); 130var filePath = TestCommon.GetOutputPath(OutDir, Path.GetRandomFileName());
Microsoft.ML.OnnxTransformer (2)
OnnxUtils.cs (2)
408var tempModelFile = Path.Combine(((IHostEnvironmentInternal)env).TempFilePath, Path.GetRandomFileName()); 433var tempModelFile = Path.Combine(((IHostEnvironmentInternal)env).TempFilePath, Path.GetRandomFileName());
Microsoft.ML.TensorFlow (1)
TensorflowUtils.cs (1)
635string tempDirectory = Path.Combine(((IHostEnvironmentInternal)env).TempFilePath, Path.GetRandomFileName());
Microsoft.ML.TensorFlow.Tests (2)
TensorflowTests.cs (2)
35tempFolder = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 2036string tempDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Microsoft.VisualStudio.LanguageServices.UnitTests (3)
GenerateType\GenerateTypeViewModelTests.vb (1)
756Dim randomFileName = Path.GetRandomFileName()
ProjectSystemShim\FileChangeWatcherTests.vb (1)
22_tempPath = Path.Combine(TempRoot.Root, Path.GetRandomFileName())
ProjectSystemShim\VisualStudioRuleSetTests.vb (1)
25_tempPath = Path.Combine(TempRoot.Root, Path.GetRandomFileName())
PresentationBuildTasks (1)
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (1)
149string randomFileName = Path.GetFileNameWithoutExtension(Path.GetRandomFileName());
PresentationCore (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\IO\FileHelper.cs (1)
115string path = Path.Combine(folderPath, Path.GetRandomFileName());
RulesetToEditorconfigConverter.UnitTests (1)
RulesetToEditorconfigConverterTests.cs (1)
18var directory = Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()));
System.CodeDom (1)
src\libraries\Common\src\System\IO\TempFileCollection.cs (1)
134Path.GetFileNameWithoutExtension(Path.GetRandomFileName()));
System.Configuration.ConfigurationManager (1)
src\libraries\Common\src\System\IO\TempFileCollection.cs (1)
134Path.GetFileNameWithoutExtension(Path.GetRandomFileName()));
System.Drawing.Common.Tests (2)
System\Drawing\IconTests.cs (2)
812Icon.ExtractIcon(Path.GetRandomFileName() + ".ico", 0, 16); 817Icon.ExtractIcon(Path.GetRandomFileName() + ".ico", 0);
System.Formats.Tar (1)
System\Formats\Tar\TarHelpers.Unix.cs (1)
25string filename = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
System.IO.IsolatedStorage (2)
System\IO\IsolatedStorage\Helper.NonMobile.cs (2)
49randomDirectory = Path.Combine(rootDirectory, Path.GetRandomFileName(), Path.GetRandomFileName());
System.Private.Windows.Core.TestUtilities (1)
TempFile.cs (1)
83string file = $"{IO.Path.GetRandomFileName()}_{memberName}_{lineNumber}";
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Internals\ThemingScope.cs (1)
84string tempFilePath = Path.Join(Path.GetTempPath(), Path.GetRandomFileName());
Templates.Blazor.Tests (2)
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
50ProjectGuid = GetRandomLetter() + Path.GetRandomFileName().Replace(".", string.Empty)
src\ProjectTemplates\Shared\TemplatePackageInstaller.cs (1)
131var tempDir = Path.Combine(AppContext.BaseDirectory, Path.GetRandomFileName(), Guid.NewGuid().ToString("D"));
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
50ProjectGuid = GetRandomLetter() + Path.GetRandomFileName().Replace(".", string.Empty)
src\ProjectTemplates\Shared\TemplatePackageInstaller.cs (1)
131var tempDir = Path.Combine(AppContext.BaseDirectory, Path.GetRandomFileName(), Guid.NewGuid().ToString("D"));
Templates.Blazor.WebAssembly.Tests (2)
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
50ProjectGuid = GetRandomLetter() + Path.GetRandomFileName().Replace(".", string.Empty)
src\ProjectTemplates\Shared\TemplatePackageInstaller.cs (1)
131var tempDir = Path.Combine(AppContext.BaseDirectory, Path.GetRandomFileName(), Guid.NewGuid().ToString("D"));
Templates.Mvc.Tests (2)
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
50ProjectGuid = GetRandomLetter() + Path.GetRandomFileName().Replace(".", string.Empty)
src\ProjectTemplates\Shared\TemplatePackageInstaller.cs (1)
131var tempDir = Path.Combine(AppContext.BaseDirectory, Path.GetRandomFileName(), Guid.NewGuid().ToString("D"));
Templates.Tests (2)
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
50ProjectGuid = GetRandomLetter() + Path.GetRandomFileName().Replace(".", string.Empty)
src\ProjectTemplates\Shared\TemplatePackageInstaller.cs (1)
131var tempDir = Path.Combine(AppContext.BaseDirectory, Path.GetRandomFileName(), Guid.NewGuid().ToString("D"));