100 references to Join
Aspire.Cli.Tests (1)
Projects\ProjectLocatorTests.cs (1)
1248Assert.Contains(Path.Join("..", "SettingsAppHost.csproj"), displayedSubtleMessages);
Aspire.Hosting (18)
Dcp\ExecutableConfigurationResolver.cs (14)
38var bundleOutputPath = Path.Join(certificatesRootDirectory, "cert.pem"); 39var customBundleOutputPath = Path.Join(certificatesRootDirectory, "bundles"); 40var certificatesOutputPath = Path.Join(certificatesRootDirectory, "certs"); 41var baseServerAuthOutputPath = Path.Join(certificatesRootDirectory, "private"); 78CertificatePath = ReferenceExpression.Create($"{Path.Join(baseServerAuthOutputPath, $"{certificate.Thumbprint}.crt")}"), 79KeyPath = ReferenceExpression.Create($"{Path.Join(baseServerAuthOutputPath, $"{certificate.Thumbprint}.key")}"), 80CertificateWithKeyPath = ReferenceExpression.Create($"{Path.Join(baseServerAuthOutputPath, $"{certificate.Thumbprint}.pem")}"), 81PfxPath = ReferenceExpression.Create($"{Path.Join(baseServerAuthOutputPath, $"{certificate.Thumbprint}.pfx")}"), 107File.WriteAllBytes(Path.Join(customBundleOutputPath, bundleFactory.Key), bundleBytes); 123File.WriteAllText(Path.Join(baseServerAuthOutputPath, $"{thumbprint}.crt"), publicCertificatePem); 128File.WriteAllBytes(Path.Join(baseServerAuthOutputPath, $"{thumbprint}.key"), keyBytes); 132Path.Join(baseServerAuthOutputPath, $"{thumbprint}.pem"), 142File.WriteAllBytes(Path.Join(baseServerAuthOutputPath, $"{thumbprint}.pfx"), pfxBytes); 175return Path.Join(_locations.DcpSessionDir, executable.Metadata.Name);
DeveloperCertificateService.cs (3)
251var certFileName = Path.Join(s_userDevCertificateLocation, $"{lookup}.crt"); 252var pfxFileName = Path.Join(s_userDevCertificateLocation, $"{lookup}.pfx"); 253var keyFileName = Path.Join(s_userDevCertificateLocation, $"{lookup}.key");
DistributedApplicationBuilder.cs (1)
259var appHostPath = Path.Join(AppHostDirectory, appHostName);
Aspire.Hosting.JavaScript (3)
JavaScriptHostingExtensions.cs (3)
1544var candidatePath = Path.GetFullPath(Path.Join(appDirectory, configFile)); 1588var aspireConfigPath = Path.Join(aspireConfigDir, $"aspire.{Path.GetFileName(configTarget)}"); 2492var candidate = Path.Join(current, "node_modules");
Aspire.Hosting.Tests (7)
Dcp\DcpExecutorTests.cs (4)
5328Assert.Equal(Path.Join(expectedCertificatesRoot, "certs"), sslCertDir); 5329Assert.Equal(Path.Join(expectedCertificatesRoot, "cert.pem"), sslCertFile); 5375var bundlesDirectory = Path.Join(certificatesRoot, "bundles"); 10106var aspireStore = new AspireStore(Path.Join(aspireStoreDirectory, ".aspire"), fileSystemService);
DistributedApplicationOptionsTests.cs (2)
84var expectedPath = Path.GetFullPath(Path.Join(projectDirectory, "CustomName")); 128var expectedPath = Path.GetFullPath(Path.Join(projectDirectory, "ExplicitlySetName"));
PublishAsDockerfileTests.cs (1)
515File.WriteAllText(Path.Join(workspace.Path, "Dockerfile"), "this does not matter");
dotnet (23)
BuildServer\VBCSCompilerServer.cs (2)
41var toolsetPackageDirectory = Path.Join(nuGetPackageRoot, s_toolsetPackageName); 47var vbcsCompilerPath = Path.Join(versionDirectory, s_vbcsCompilerExeFileName);
Commands\Project\Convert\ProjectConvertCommand.cs (3)
145var targetFile = Path.Join(outputDirectory, Path.GetFileName(sourceFile)); 159var projectFile = Path.Join(outputDirectory, Path.GetFileNameWithoutExtension(sourceFile) + ".csproj"); 520project = project.WithName(Path.Join(project.OriginalName, projectFileName), CSharpDirective.Project.NameKind.Final);
Commands\Run\CSharpCompilerCommand.cs (6)
217private static string GetCscRspPath(string artifactsPath) => Path.Join(artifactsPath, "csc.rsp"); 236string assemblyAttributes = Path.Join(objDir, $".NETCoreApp,Version=v{TargetFrameworkVersion}.AssemblyAttributes.cs"); 242string globalUsings = Path.Join(objDir, $"{FileName}.GlobalUsings.g.cs"); 248string assemblyInfo = Path.Join(objDir, $"{FileName}.AssemblyInfo.cs"); 254string editorconfig = Path.Join(objDir, $"{FileName}.GeneratedMSBuildEditorConfig.editorconfig"); 437yield return $"{argPrefix}{Path.Join(packRoot, filePath)}";
Commands\Run\FileBasedAppRunPlan.cs (8)
93var successCacheFile = new FileInfo(Path.Join(artifactsPath, BuildSuccessCacheFileName)); 144string successCachePath = Path.Join(artifactsPath, BuildSuccessCacheFileName); 321string implicitBuildFilePath = Path.Join(directory.FullName, implicitBuildFile.Name); 347Path.Join(binDirectory, fileNameWithoutExtension + FileNameSuffixes.CurrentPlatform.Exe), 348Path.Join(binDirectory, fileNameWithoutExtension + ".dll"), 349Path.Join(binDirectory, fileNameWithoutExtension + FileNameSuffixes.RuntimeConfigJson)); 414var successCacheFile = new FileInfo(Path.Join(inputs.ArtifactsPath, BuildSuccessCacheFileName)); 421var startCacheFile = new FileInfo(Path.Join(inputs.ArtifactsPath, BuildStartCacheFileName));
Commands\Run\RunCommand.cs (1)
876entryPointFilePath = Path.Join(directory, "app.cs");
Commands\Run\VirtualProjectBuildingCommand.cs (3)
638Path.Join(Builder.ArtifactsPath, FileBasedAppRunPlan.BuildSuccessCacheFileName)); 706File.WriteAllText(Path.Join(directory, FileBasedAppRunPlan.BuildStartCacheFileName), Builder.EntryPointFileFullPath); 716string successCacheFile = Path.Join(Builder.ArtifactsPath, FileBasedAppRunPlan.BuildSuccessCacheFileName);
dotnet-aot (11)
NativeEntryPoint.cs (2)
252string dotnetDll = Path.Join(sdkDirectory, "dotnet.dll"); 253string runtimeConfig = Path.Join(sdkDirectory, "dotnet.runtimeconfig.json");
src\sdk\src\Cli\dotnet\Commands\Run\AotRunCommand.cs (1)
263using var stream = File.OpenRead(Path.Join(SdkPaths.SdkDirectory, "dotnet.runtimeconfig.json"));
src\sdk\src\Cli\dotnet\Commands\Run\FileBasedAppRunPlan.cs (8)
93var successCacheFile = new FileInfo(Path.Join(artifactsPath, BuildSuccessCacheFileName)); 144string successCachePath = Path.Join(artifactsPath, BuildSuccessCacheFileName); 321string implicitBuildFilePath = Path.Join(directory.FullName, implicitBuildFile.Name); 347Path.Join(binDirectory, fileNameWithoutExtension + FileNameSuffixes.CurrentPlatform.Exe), 348Path.Join(binDirectory, fileNameWithoutExtension + ".dll"), 349Path.Join(binDirectory, fileNameWithoutExtension + FileNameSuffixes.RuntimeConfigJson)); 414var successCacheFile = new FileInfo(Path.Join(inputs.ArtifactsPath, BuildSuccessCacheFileName)); 421var startCacheFile = new FileInfo(Path.Join(inputs.ArtifactsPath, BuildStartCacheFileName));
DotnetTool.AppHost (1)
AppHost.cs (1)
90var nugetPackagesPath = Path.Join(evt.Services.GetRequiredService<IAspireStore>().BasePath, "nuget");
Microsoft.AspNetCore.HttpLogging (2)
FileLoggerProcessor.cs (2)
53_path = Path.Join(environment.ContentRootPath, "logs"); 57_path = Path.Join(environment.ContentRootPath, _path);
Microsoft.DotNet.HotReload.Watch (2)
src\sdk\src\Dotnet.Watch\HotReloadClient\Utilities\PathExtensions.cs (1)
17=> Path.Join(path1, path2);
src\sdk\src\Dotnet.Watch\HotReloadClient\Web\StaticWebAssetsManifest.cs (1)
205urlToPathMap[url] = Path.Join(root, node.Asset.SubPath.Replace('/', Path.DirectorySeparatorChar));
Microsoft.DotNet.ProjectTools (1)
LaunchSettings\LaunchSettings.cs (1)
27=> Path.Join(directoryPath, $"{projectNameWithoutExtension}.run.json");
Microsoft.ML.GenAI.LLaMA (3)
LlamaForCausalLM.cs (2)
102var config = Path.Join(modelFolder, configName); 135var config = Path.Join(modelFolder, configName);
LlamaTokenizerHelper.cs (1)
51var modelFilePath = Path.Join(modelWeightFolder, modelFile);
Microsoft.ML.GenAI.Mistral (2)
MistralForCausalLM.cs (2)
57var config = Path.Join(modelFolder, configName); 85var config = Path.Join(modelFolder, configName);
Microsoft.ML.GenAI.Phi (3)
Phi2\Phi2ForCausalLM.cs (1)
58var config = Path.Join(modelFolder, configName);
Phi3\Phi3ForCausalLM.cs (2)
59var config = Path.Join(modelFolder, configName); 87var config = Path.Join(modelFolder, configName);
Microsoft.ML.GenAI.Phi.Tests (1)
Phi3Tests.cs (1)
119var modelPath = Path.Join(modelWeightFolder, "tokenizer.model");
Microsoft.ML.Samples (1)
Dynamic\TensorFlow\ImageClassification.cs (1)
31Unzip(Path.Join(Directory.GetCurrentDirectory(), modelLocation),
Microsoft.ML.Samples.GPU (1)
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\ImageClassification.cs (1)
31Unzip(Path.Join(Directory.GetCurrentDirectory(), modelLocation),
Microsoft.NET.Build.Containers (5)
ContentStore.cs (5)
15string contentPath = Path.Join(ArtifactRoot, "Content"); 44public static string GetTempFile() => Path.Join(TempPath, Path.GetRandomFileName()); 55string dotnetCacheDir = Path.Join(userCacheDir, "dotnet"); 58string containersCacheDir = Path.Join(dotnetCacheDir, "Containers"); 103return Path.Join(userHomeDirectory, ".cache");
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Logging\FileLogTraceListener.vb (1)
169Return Path.Join(basePath, fileName)
System.Formats.Tar (3)
System\Formats\Tar\TarEntry.cs (3)
372Path.IsPathFullyQualified(name) ? name : Path.Join(destinationDirectoryPath, name)); 393Path.IsPathFullyQualified(linkName) ? linkName : Path.Join(Path.GetDirectoryName(fileDestinationPath), linkName)); 408Path.Join(destinationDirectoryPath, linkName));
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Path.cs (3)
501return Join(path2, path3); 504return Join(path1, path3); 507return Join(path1, path2);
System.Private.Windows.Core.TestUtilities (3)
FileCleanupTestBase.cs (2)
19_testDirectory = Path.Join(Path.GetTempPath(), GetUniqueName()); 46public string GetTestFilePath() => Path.Join(TestDirectory, GetTestFileName());
TempFile.cs (1)
86return IO.Path.Join(IO.Path.GetTempPath(), file);
System.Windows.Forms (3)
System\Resources\AssemblyNamesTypeResolutionService.cs (1)
16private static readonly string s_dotNetPath = Path.Join(
System\Resources\ResXDataNode.cs (1)
134? Path.Join(basePath, fileRefDetails[0])
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
612string mshtmlPath = Path.Join(Environment.GetFolderPath(Environment.SpecialFolder.System), "mshtml.dll");
System.Windows.Forms.Primitives (2)
System\Windows\Forms\Internals\ThemingScope.cs (1)
84string tempFilePath = Path.Join(Path.GetTempPath(), Path.GetRandomFileName());
Windows\Win32\PInvoke.LoadLibrary.cs (1)
17string customPath = Path.Join(startupPath, Libraries.Comctl32);