542 references to Combine
aspire (1)
Utils\ConfigurationHelper.cs (1)
45return Path.Combine(workingDirectory, ".aspire", "settings.json");
Aspire.Cli.Tests (10)
Commands\ConfigCommandTests.cs (5)
42var settingsPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "settings.json"); 65var settingsPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "settings.json"); 90var settingsPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "settings.json"); 124var settingsPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "settings.json"); 244var settingsPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "settings.json");
Projects\ProjectLocatorTests.cs (2)
289var globalSettingsFilePath = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "settings.global.json"); 299var settingsFile = new FileInfo(Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "settings.json"));
TestServices\TestProjectLocator.cs (1)
25var fakeProjectFilePath = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString(), "AppHost.csproj");
Utils\CliTestHelper.cs (2)
55var globalSettingsFilePath = Path.Combine(options.WorkingDirectory.FullName, ".aspire", "settings.global.json"); 165var globalSettingsFilePath = Path.Combine(workingDirectory.FullName, ".aspire", "settings.global.json");
Aspire.Dashboard.Tests (1)
tests\Shared\TestCertificateLoader.cs (1)
10private static readonly string s_baseDir = Path.Combine(Directory.GetCurrentDirectory(), "shared", "TestCertificates");
Aspire.EndToEnd.Tests (2)
IntegrationServicesFixture.cs (1)
56_testProjectPath = Path.Combine(BuildEnvironment.RepoRoot.FullName, "tests", "testproject");
tests\Shared\TemplatesTesting\TemplateCustomHive.cs (1)
105: Path.Combine(BuildEnvironment.TempDir, "templates", "working"); // avoid running from the repo
Aspire.Hosting (1)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (1)
84_ => Path.Combine(projectFileInfo.DirectoryName, "Properties", "launchSettings.json")
Aspire.Hosting.Azure.Functions (1)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (1)
84_ => Path.Combine(projectFileInfo.DirectoryName, "Properties", "launchSettings.json")
Aspire.Hosting.Azure.Tests (6)
AzureEnvironmentResourceTests.cs (4)
38var envBicepPath = Path.Combine(tempDir.FullName, "env", "env.bicep"); 173var storageBicep = File.ReadAllText(Path.Combine(tempDir.FullName, "storage", "storage.bicep")); 212var includedStorageBicepPath = Path.Combine(tempDir.Path, "included-storage", "included-storage.bicep"); 216var excludedStorageBicepPath = Path.Combine(tempDir.Path, "excluded-storage", "excluded-storage.bicep");
AzureEventHubsExtensionsTests.cs (1)
167Assert.Equal(Path.Combine(builder.AppHostDirectory, ".eventhubs", "eh"), volumeAnnotation.Source);
AzureStorageExtensionsTests.cs (1)
36Assert.Equal(Path.Combine(builder.AppHostDirectory, ".azurite", "storage"), volumeAnnotation.Source);
Aspire.Hosting.Docker (1)
DockerComposePublishingContext.cs (1)
199sourcePath = Path.Combine(OutputPath, composeService.Name, Path.GetFileName(file.SourcePath));
Aspire.Hosting.Kubernetes (1)
KubernetesPublishingContext.cs (1)
128var templatesFolder = Path.Combine(OutputPath, "templates", resource.Name);
Aspire.Hosting.Python.Tests (1)
AddPythonAppTests.cs (1)
312var relativePipPath = Path.Combine(
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
349_ => Path.Combine(projectFileInfo.FullName, "Properties", "launchSettings.json")
Aspire.Templates.Tests (1)
tests\Shared\TemplatesTesting\TemplateCustomHive.cs (1)
105: Path.Combine(BuildEnvironment.TempDir, "templates", "working"); // avoid running from the repo
AutobahnTestApp (1)
Program.cs (1)
63var certPath = Path.Combine(AppContext.BaseDirectory, "TestResources", "testCert.pfx");
BuildBoss (1)
CompilerNuGetCheckerUtil.cs (1)
438var directory = Path.Combine(ArtifactsDirectory, "VSSetup", Configuration);
BuildValidator (1)
Program.cs (1)
248var debugPath = Path.Combine(
CatalogService (1)
CatalogApi.cs (1)
40var path = Path.Combine(environment.ContentRootPath, "Images", item.PictureFileName);
Crossgen2Tasks (8)
ResolveReadyToRunCompilers.cs (8)
256_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", "crossgen.exe"); 272_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", "crossgen.exe"); 291_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", "crossgen.exe"); 311_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", "crossgen"); 321_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", "crossgen"); 337_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", "crossgen"); 369_crossgen2Tool.ClrJitPath = Path.Combine(_crossgen2Tool.PackagePath, "tools", clrJitFileName); 376_crossgen2Tool.ToolPath = Path.Combine(_crossgen2Tool.PackagePath, "tools", toolFileName);
dotnet-dev-certs (2)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
476return Path.Combine(homeDirectory, ".pki", "nssdb"); 486return Path.Combine(homeDirectory, ".mozilla", "firefox");
dotnet-svcutil-lib (8)
Bootstrapper\SvcutilBootstrapper.cs (1)
99var projectFullPath = Path.Combine(this.Options.BootstrapPath.FullName, nameof(SvcutilBootstrapper), SvcutilBootstrapper.ProjectName);
CommandProcessorOptions.cs (4)
525var svcutilParmasFile = Path.Combine(projectDir, this.UpdateServiceReferenceFolder, CommandProcessorOptions.SvcutilParamsFileName); 528var wcfcsParamsFile = Path.Combine(projectDir, this.UpdateServiceReferenceFolder, CommandProcessorOptions.WCFCSParamsFileName); 578this.BootstrapPath = new DirectoryInfo(Path.Combine(tempDir, baseDirName, sessionDirName)); 698var projectFullPath = Path.Combine(this.BootstrapPath.FullName, "TFMResolver", "TFMResolver.csproj");
Shared\MSBuildProj.cs (2)
342fullPath = Path.Combine(msbuildProj.DirectoryPath, fullPath, binReference); 797var assetsFile = new FileInfo(Path.Combine(this.DirectoryPath, "obj", "project.assets.json")).FullName;
Shared\ProjectPropertyResolver.cs (1)
159s_sdkPath = Path.Combine(dotnetDir, "sdk", sdkVersion);
dotnet-svcutil-lib.Tests (26)
E2ETests.cs (9)
23this_TestGroupProjDir = Path.Combine(g_TestResultsDir, this_TestCaseName, "Project"); 94var uri = $"\"\"{Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl")}\"\""; 173var wsdlFile = Path.Combine(this_TestGroupOutputDir, "wsdl", "tempuri.org.wsdl"); 176var wsdlDocsSrdDir = Path.Combine(g_TestCasesDir, "wsdl", "WcfProjectNService"); 222var libProjPath = Path.Combine(this_TestGroupOutputDir, "TypesLib", "TypesLib.csproj"); 223var binProjPath = Path.Combine(this_TestGroupOutputDir, "BinLib", "BinLib.csproj"); 368var srcParamsFilePath = Path.Combine(g_TestCasesDir, filePath, paramsFileName); 501string wsdlFile = Path.Combine(g_TestCasesDir, "wsdl", "memberNamedSystem.wsdl"); 512string wsdlFile = Path.Combine(g_TestCasesDir, "wsdl", "TypeNameUseReservedKeyword.wsdl");
GlobalToolTests.cs (8)
78var uri = $"\"{Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl")}\""; 99File.Copy(Path.Combine(g_TestCasesDir, "FullFramework", "FullFramework.cs"), Path.Combine(this_TestCaseOutputDir, "FullFramework.cs"), true); 100File.Copy(Path.Combine(g_TestCasesDir, "FullFramework", "FullFramework.csproj"), Path.Combine(this_TestCaseOutputDir, "FullFramework.csproj"), true); 134var uri = Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl"); 164var uri = Path.Combine(g_TestCasesDir, "wsdl", "TypeReuseSvc.wsdl"); 183var url = $"{Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl")}"; 218var uri = Path.Combine(g_TestCasesDir, "TypeReuse", "TypeReuseIXmlSerializable.wsdl"); 219var refs = Path.Combine(g_TestCasesDir, "TypeReuse", "CommonTypes.dll");
TestInit.cs (3)
62var projectPath = Path.Combine(g_TestOutputDir, "TestStarterProject", "TestStarterProject.csproj"); 143g_TestOutputDir = Path.Combine(g_RepositoryRoot, "artifacts", "TestOutput"); 445var scriptPath = Path.Combine(g_TestOutputDir, @"TestScripts", $"{this_TestCaseName}.cmd");
UnitTest.cs (6)
61var uri = Path.Combine(g_TestCasesDir, "wsdl", "brokenWsdl.wsdl"); 150var uri = Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl"); 221var wsdlFilesSrcDir = Path.Combine(g_TestCasesDir, "wsdl", "WcfProjectNService"); 225File.Copy(Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl"), Path.Combine(this_TestGroupOutputDir, "wsdl", "Simple.wsdl")); 327var jsonFilesRoot = Path.Combine(g_TestCasesDir, "options", "JSON");
dotnet-user-jwts (1)
Helpers\DevJwtCliHelpers.cs (1)
75var launchSettingsFilePath = Path.Combine(Path.GetDirectoryName(project)!, "Properties", "launchSettings.json");
HelixTestRunner (5)
TestRunner.cs (5)
38var dotnetEFFullPath = Path.Combine(nugetRestore, helixDir, "dotnet-ef.exe"); 67DisplayContents(Path.Combine(Options.DotnetRoot, "host", "fxr")); 68DisplayContents(Path.Combine(Options.DotnetRoot, "shared", "Microsoft.NETCore.App")); 69DisplayContents(Path.Combine(Options.DotnetRoot, "shared", "Microsoft.AspNetCore.App")); 70DisplayContents(Path.Combine(Options.DotnetRoot, "packs", "Microsoft.AspNetCore.App.Ref"));
HttpClientApp (1)
src\Shared\TestResources.cs (1)
10private static readonly string _baseDir = Path.Combine(Directory.GetCurrentDirectory(), "shared", "TestCertificates");
IIS.FunctionalTests (4)
src\Servers\IIS\IIS\test\Common.FunctionalTests\GlobalVersionTests.cs (1)
222return Path.Combine(deploymentResult.ContentRoot,
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (2)
55if (!File.Exists(Path.Combine(Environment.SystemDirectory, "inetsrv", "w3wp.exe")) && !SkipInVSTSAttribute.RunningInVSTS) 95if (File.Exists(Path.Combine(Environment.SystemDirectory, "inetsrv", module.DllName)) || SkipInVSTSAttribute.RunningInVSTS)
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (1)
120AssertLogs(Path.Combine(deploymentResult.ContentRoot, "subdirectory", "debug.txt"));
IIS.LongTests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (2)
55if (!File.Exists(Path.Combine(Environment.SystemDirectory, "inetsrv", "w3wp.exe")) && !SkipInVSTSAttribute.RunningInVSTS) 95if (File.Exists(Path.Combine(Environment.SystemDirectory, "inetsrv", module.DllName)) || SkipInVSTSAttribute.RunningInVSTS)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (5)
616parameters.TransformArguments((arguments, root) => "exec " + Path.Combine(root, "bin", arguments)); 632parameters.TransformArguments((arguments, root) => Path.Combine(root, pathWithSpace, arguments)); 640parameters.TransformArguments((arguments, root) => "exec \"" + Path.Combine(root, pathWithSpace, arguments) + "\" extra arguments"); 656parameters.TransformArguments((arguments, root) => Path.Combine(root, "bin", arguments) + " extra arguments"); 696parameters.TransformPath((path, root) => Path.Combine(root, pathWithSpace, path));
IIS.NewHandler.FunctionalTests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (2)
55if (!File.Exists(Path.Combine(Environment.SystemDirectory, "inetsrv", "w3wp.exe")) && !SkipInVSTSAttribute.RunningInVSTS) 95if (File.Exists(Path.Combine(Environment.SystemDirectory, "inetsrv", module.DllName)) || SkipInVSTSAttribute.RunningInVSTS)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (5)
616parameters.TransformArguments((arguments, root) => "exec " + Path.Combine(root, "bin", arguments)); 632parameters.TransformArguments((arguments, root) => Path.Combine(root, pathWithSpace, arguments)); 640parameters.TransformArguments((arguments, root) => "exec \"" + Path.Combine(root, pathWithSpace, arguments) + "\" extra arguments"); 656parameters.TransformArguments((arguments, root) => Path.Combine(root, "bin", arguments) + " extra arguments"); 696parameters.TransformPath((path, root) => Path.Combine(root, pathWithSpace, path));
IIS.NewShim.FunctionalTests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (2)
55if (!File.Exists(Path.Combine(Environment.SystemDirectory, "inetsrv", "w3wp.exe")) && !SkipInVSTSAttribute.RunningInVSTS) 95if (File.Exists(Path.Combine(Environment.SystemDirectory, "inetsrv", module.DllName)) || SkipInVSTSAttribute.RunningInVSTS)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (5)
616parameters.TransformArguments((arguments, root) => "exec " + Path.Combine(root, "bin", arguments)); 632parameters.TransformArguments((arguments, root) => Path.Combine(root, pathWithSpace, arguments)); 640parameters.TransformArguments((arguments, root) => "exec \"" + Path.Combine(root, pathWithSpace, arguments) + "\" extra arguments"); 656parameters.TransformArguments((arguments, root) => Path.Combine(root, "bin", arguments) + " extra arguments"); 696parameters.TransformPath((path, root) => Path.Combine(root, pathWithSpace, path));
IIS.ShadowCopy.Tests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (2)
55if (!File.Exists(Path.Combine(Environment.SystemDirectory, "inetsrv", "w3wp.exe")) && !SkipInVSTSAttribute.RunningInVSTS) 95if (File.Exists(Path.Combine(Environment.SystemDirectory, "inetsrv", module.DllName)) || SkipInVSTSAttribute.RunningInVSTS)
IIS.Tests (1)
Utilities\TestServer.cs (1)
33internal static string BasePath => Path.Combine(Path.GetDirectoryName(typeof(TestServer).Assembly.Location),
IISExpress.FunctionalTests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\GlobalVersionTests.cs (1)
222return Path.Combine(deploymentResult.ContentRoot,
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (1)
120AssertLogs(Path.Combine(deploymentResult.ContentRoot, "subdirectory", "debug.txt"));
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (5)
616parameters.TransformArguments((arguments, root) => "exec " + Path.Combine(root, "bin", arguments)); 632parameters.TransformArguments((arguments, root) => Path.Combine(root, pathWithSpace, arguments)); 640parameters.TransformArguments((arguments, root) => "exec \"" + Path.Combine(root, pathWithSpace, arguments) + "\" extra arguments"); 656parameters.TransformArguments((arguments, root) => Path.Combine(root, "bin", arguments) + " extra arguments"); 696parameters.TransformPath((path, root) => Path.Combine(root, pathWithSpace, path));
ILLink.Tasks (1)
LinkTask.cs (1)
277_illinkPath = Path.Combine(Path.GetDirectoryName(taskDirectory), "net", "illink.dll");
InMemory.FunctionalTests (3)
HttpsConnectionMiddlewareTests.cs (2)
75["Certificates:Default:Path"] = Path.Combine("shared", "TestCertificates", "https-aspnet.crt"), 76["Certificates:Default:KeyPath"] = Path.Combine("shared", "TestCertificates", "https-aspnet.key"),
src\Shared\TestResources.cs (1)
10private static readonly string _baseDir = Path.Combine(Directory.GetCurrentDirectory(), "shared", "TestCertificates");
Interop.FunctionalTests (7)
H2SpecCommands.cs (3)
57return Path.Combine(root, "windows", "h2spec.exe"); 61var toolPath = Path.Combine(root, "linux", "h2spec"); 67var toolPath = Path.Combine(root, "darwin", "h2spec");
Http3\Http3TlsTests.cs (3)
411new KeyValuePair<string, string>("Certificates:Default:Path", Path.Combine("shared", "TestCertificates", "aspnetdevcert.pfx")), 511var basePath = appData != null ? Path.Combine(appData, "ASP.NET", "https") : null; 512basePath = basePath ?? (home != null ? Path.Combine(home, ".aspnet", "https") : null);
src\Shared\TestResources.cs (1)
10private static readonly string _baseDir = Path.Combine(Directory.GetCurrentDirectory(), "shared", "TestCertificates");
InteropTests (2)
InteropTests.cs (2)
16private readonly string _clientPath = Path.Combine(Directory.GetCurrentDirectory(), "InteropClient", "InteropClient.dll"); 17private readonly string _serverPath = Path.Combine(Directory.GetCurrentDirectory(), "InteropWebsite", "InteropWebsite.dll");
InteropWebsite (1)
Program.cs (1)
58var certPath = Path.Combine(basePath!, "Certs", "server1.pfx");
Microsoft.Arcade.Common (1)
FileSystem.cs (1)
33public string PathCombine(string path1, string path2, string path3) => Path.Combine(path1, path2, path3);
Microsoft.AspNetCore.Analyzer.Testing (1)
DiagnosticVerifier.cs (1)
194var dll = Path.Combine(Directory.GetCurrentDirectory(), "refs", Path.GetFileName(assembly));
Microsoft.AspNetCore.App.UnitTests (8)
TargetingPackTests.cs (8)
38var actualAssemblies = Directory.GetFiles(Path.Combine(_targetingPackRoot, "ref", _targetingPackTfm), "*.dll") 73IEnumerable<string> dlls = Directory.GetFiles(Path.Combine(_targetingPackRoot, "ref", _targetingPackTfm), "*.dll", SearchOption.AllDirectories); 113IEnumerable<string> dlls = Directory.GetFiles(Path.Combine(_targetingPackRoot, "ref", _targetingPackTfm), "*.dll", SearchOption.AllDirectories); 135var packageOverridePath = Path.Combine(_targetingPackRoot, "data", "PackageOverrides.txt"); 227var platformManifestPath = Path.Combine(_targetingPackRoot, "data", "PlatformManifest.txt"); 292var frameworkListPath = Path.Combine(_targetingPackRoot, "data", "FrameworkList.xml"); 359var frameworkListPath = Path.Combine(_targetingPackRoot, "data", "FrameworkList.xml"); 401var frameworkListPath = Path.Combine(_targetingPackRoot, "data", "FrameworkList.xml");
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (4)
src\Tools\Shared\TestHelpers\TemporaryDirectory.cs (1)
21Root = Path.Combine(ResolveLinks(Path.GetTempPath()), "dotnet-tool-tests", Guid.NewGuid().ToString("N"));
UserJwtsTestFixture.cs (2)
64var projectPath = Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), "userjwtstest", Guid.NewGuid().ToString())); 77File.WriteAllText(Path.Combine(projectPath.FullName, "Properties", "launchSettings.json"),
UserJwtsTests.cs (1)
491var launchSettingsPath = Path.Combine(projectPath, "Properties", "launchSettings.json");
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
DebugProxyLauncher.cs (1)
125var debugProxyPath = Path.Combine(
Microsoft.AspNetCore.DataProtection (3)
Repositories\DefaultKeyStorageDirectories.cs (3)
55retVal = GetKeyStorageDirectoryFromBaseAppDataPath(Path.Combine(homePath, "AppData", "Local")); 60retVal = new DirectoryInfo(Path.Combine(homePath, ".aspnet", DataProtectionKeysFolderName)); 110return new DirectoryInfo(Path.Combine(basePath, "ASP.NET", DataProtectionKeysFolderName));
Microsoft.AspNetCore.DataProtection.Tests (7)
XmlEncryption\EncryptedXmlDecryptorTests.cs (7)
18var testCert1 = new X509Certificate2(Path.Combine(AppContext.BaseDirectory, "TestFiles", "TestCert1.pfx"), "password"); 32var testCert1 = new X509Certificate2(Path.Combine(AppContext.BaseDirectory, "TestFiles", "TestCert1.pfx"), "password"); 33var testCert2 = new X509Certificate2(Path.Combine(AppContext.BaseDirectory, "TestFiles", "TestCert2.pfx"), "password"); 50var fullCert = new X509Certificate2(Path.Combine(AppContext.BaseDirectory, "TestFiles", "TestCert1.pfx"), "password"); 51var publicKeyOnly = new X509Certificate2(Path.Combine(AppContext.BaseDirectory, "TestFiles", "TestCert1.PublicKeyOnly.cer"), ""); 68var testCert1 = new X509Certificate2(Path.Combine(AppContext.BaseDirectory, "TestFiles", "TestCert1.pfx"), "password"); 69var testCert2 = new X509Certificate2(Path.Combine(AppContext.BaseDirectory, "TestFiles", "TestCert2.pfx"), "password");
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
476return Path.Combine(homeDirectory, ".pki", "nssdb"); 486return Path.Combine(homeDirectory, ".mozilla", "firefox");
Microsoft.AspNetCore.Hosting.Tests (1)
StaticWebAssets\ManifestStaticWebAssetsFileProviderTests.cs (1)
368manifest.ContentRoots = new[] { Path.Combine(AppContext.BaseDirectory, "testroot", "wwwroot") };
Microsoft.AspNetCore.Http.Extensions.Tests (3)
RequestDelegateGenerator\CompileTimeCreationTests.cs (1)
157var mappedDirectory = Path.Combine(currentDirectory, "path", "mapped");
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (2)
357? Path.Combine(Environment.GetEnvironmentVariable("HELIX_WORKITEM_ROOT"), "RequestDelegateGenerator", "Baselines") 422var dll = Path.Combine(Directory.GetCurrentDirectory(), "refs", Path.GetFileName(assembly));
Microsoft.AspNetCore.Http.Microbenchmarks (2)
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (2)
357? Path.Combine(Environment.GetEnvironmentVariable("HELIX_WORKITEM_ROOT"), "RequestDelegateGenerator", "Baselines") 422var dll = Path.Combine(Directory.GetCurrentDirectory(), "refs", Path.GetFileName(assembly));
Microsoft.AspNetCore.Http.Results.Tests (3)
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (3)
327var path = Path.GetFullPath(Path.Combine(".", "TestFiles", "FilePathResultTestFile_ASCII.txt")); 347var path = Path.GetFullPath(Path.Combine(".", "TestFiles", "FilePathResultTestFile.txt")); 357Assert.Equal(Path.GetFullPath(Path.Combine(".", "TestFiles", "FilePathResultTestFile.txt")), sendFile.Name);
Microsoft.AspNetCore.Identity.Test (1)
IdentityUIScriptsTest.cs (1)
84var wwwrootDir = Path.Combine(GetProjectBasePath(), "assets", scriptTag.Version);
Microsoft.AspNetCore.InternalTesting (1)
TestFileOutputContext.cs (1)
91return Path.Combine(baseDirectory, assembly.GetName().Name, attribute.TargetFramework);
Microsoft.AspNetCore.InternalTesting.Tests (2)
AssemblyTestLogTests.cs (2)
47var tfmPath = Path.Combine(tempDir, assemblyName, TestableAssembly.TFM); 49var testLog = Path.Combine(tfmPath, TestableAssembly.TestClassName, $"{testName}.log");
Microsoft.AspNetCore.Mvc.Core.Test (3)
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (3)
327var path = Path.GetFullPath(Path.Combine(".", "TestFiles", "FilePathResultTestFile_ASCII.txt")); 347var path = Path.GetFullPath(Path.Combine(".", "TestFiles", "FilePathResultTestFile.txt")); 357Assert.Equal(Path.GetFullPath(Path.Combine(".", "TestFiles", "FilePathResultTestFile.txt")), sendFile.Name);
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
Infrastructure\ResourceFile.cs (1)
228var projectPath = Path.Combine(solutionPath, "test", assembly.GetName().Name);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (5)
FileProviderRazorProjectFileSystemTest.cs (5)
111Assert.Equal(Path.Combine("BasePath", "Level1-Dir1", "File2.cshtml"), file.PhysicalPath); 118Assert.Equal(Path.Combine("BasePath", "Level1-Dir1", "File3.cshtml"), file.PhysicalPath); 125Assert.Equal(Path.Combine("BasePath", "Level1-Dir2", "File5.cshtml"), file.PhysicalPath); 169Assert.Equal(Path.Combine("BasePath", "Level1-Dir1", "File2.cshtml"), file.PhysicalPath); 176Assert.Equal(Path.Combine("BasePath", "Level1-Dir1", "File3.cshtml"), file.PhysicalPath);
Microsoft.AspNetCore.OpenApi.Tests (1)
Integration\OpenApiDocumentIntegrationTests.cs (1)
34? Path.Combine(Environment.GetEnvironmentVariable("HELIX_WORKITEM_ROOT"), "Integration", "snapshots")
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\TestResources.cs (1)
10private static readonly string _baseDir = Path.Combine(Directory.GetCurrentDirectory(), "shared", "TestCertificates");
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (2)
IISDeployer.cs (1)
113IISDeploymentParameters.ServerConfigLocation = Path.Combine(@"C:\inetpub\temp\apppools", _appPoolName, $"{_appPoolName}.config");
IISDeployerBase.cs (1)
94var basePath = File.Exists(Path.Combine(AppContext.BaseDirectory, "x64", "aspnetcorev2.dll")) ? "" : @"ANCM\";
Microsoft.AspNetCore.Server.Kestrel.Core (4)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
476return Path.Combine(homeDirectory, ".pki", "nssdb"); 486return Path.Combine(homeDirectory, ".mozilla", "firefox");
TlsConfigurationLoader.cs (2)
192var basePath = appData != null ? Path.Combine(appData, "ASP.NET", "https") : null; 193basePath = basePath ?? (home != null ? Path.Combine(home, ".aspnet", "https") : null);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Shared\TestResources.cs (1)
10private static readonly string _baseDir = Path.Combine(Directory.GetCurrentDirectory(), "shared", "TestCertificates");
Microsoft.AspNetCore.Server.Kestrel.Tests (21)
HttpsConfigurationTests.cs (6)
28serverOptions.TestOverrideDefaultCertificate = new X509Certificate2(Path.Combine("shared", "TestCertificates", "aspnetdevcert.pfx"), "testPassword"); 90new KeyValuePair<string, string>("Certificates:Default:Path", Path.Combine("shared", "TestCertificates", "aspnetdevcert.pfx")), 127new KeyValuePair<string, string>("Certificates:Default:Path", Path.Combine("shared", "TestCertificates", "aspnetdevcert.pfx")), 160new KeyValuePair<string, string>("Certificates:Default:Path", Path.Combine("shared", "TestCertificates", "aspnetdevcert.pfx")), 193serverOptions.TestOverrideDefaultCertificate = new X509Certificate2(Path.Combine("shared", "TestCertificates", "aspnetdevcert.pfx"), "testPassword"); 222ServerCertificate = new X509Certificate2(Path.Combine("shared", "TestCertificates", "aspnetdevcert.pfx"), "testPassword"),
KestrelConfigurationLoaderTests.cs (14)
595new KeyValuePair<string, string>("Certificates:Default:Path", Path.Combine("shared", "TestCertificates", "https-aspnet.crt")), 596new KeyValuePair<string, string>("Certificates:Default:KeyPath", Path.Combine("shared", "TestCertificates", "https-aspnet.key")) 619new KeyValuePair<string, string>("Certificates:Default:Path", Path.Combine("shared", "TestCertificates", "https-aspnet.crt")), 620new KeyValuePair<string, string>("Certificates:Default:KeyPath", Path.Combine("shared", "TestCertificates", "https-ecdsa.key")), 644new KeyValuePair<string, string>("Certificates:Default:Path", Path.Combine("shared", "TestCertificates", "https-aspnet.crt")), 645new KeyValuePair<string, string>("Certificates:Default:KeyPath", Path.Combine("shared", "TestCertificates", "https-aspnet.key")), 669new KeyValuePair<string, string>("Certificates:Default:Path", Path.Combine("shared", "TestCertificates", "https-aspnet.crt")), 670new KeyValuePair<string, string>("Certificates:Default:KeyPath", Path.Combine("shared", "TestCertificates", "https-aspnet.pub")), 708new KeyValuePair<string, string>("Certificates:Default:Path", Path.Combine("shared", "TestCertificates", certificateFile)), 709new KeyValuePair<string, string>("Certificates:Default:KeyPath", Path.Combine("shared", "TestCertificates", certificateKey)), 1380var certPath = Path.Combine("shared", "TestCertificates", "https-ecdsa.pem"); 1381var keyPath = Path.Combine("shared", "TestCertificates", "https-ecdsa.key"); 1896var basePath = appData != null ? Path.Combine(appData, "ASP.NET", "https") : null; 1897basePath = basePath ?? (home != null ? Path.Combine(home, ".aspnet", "https") : null);
src\Shared\TestResources.cs (1)
10private static readonly string _baseDir = Path.Combine(Directory.GetCurrentDirectory(), "shared", "TestCertificates");
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
src\Shared\TestResources.cs (1)
10private static readonly string _baseDir = Path.Combine(Directory.GetCurrentDirectory(), "shared", "TestCertificates");
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
src\SignalR\common\Shared\TestCertificates.cs (2)
35var certPath = Path.Combine(Path.GetDirectoryName(Assembly.GetCallingAssembly().Location), "TestCertificates", "testCert.pfx"); 41var certPath = Path.Combine(Path.GetDirectoryName(Assembly.GetCallingAssembly().Location), "TestCertificates", "testCertECC.pfx");
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
AutobahnTests.cs (1)
86var iisExpressExe = Path.Combine(pf, "IIS Express", "iisexpress.exe");
Microsoft.AspNetCore.WebUtilities.Tests (1)
FileBufferingWriteStreamTests.cs (1)
12private readonly string TempDirectory = Path.Combine(Path.GetTempPath(), "FileBufferingWriteTests", Path.GetRandomFileName());
Microsoft.Build.Framework (1)
FileClassifier.cs (1)
125RegisterImmutableDirectory(Path.Combine(programFiles, "Reference Assemblies", "Microsoft"), false);
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Core\MSBuildTask\ManagedToolTask.cs (1)
191? Path.Combine(buildTaskDirectory, "..", "bincore")
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (8)
CscTests.cs (6)
468csc.ToolExe = Path.Combine("path", "to", "custom_csc"); 471Assert.Equal(Path.Combine("path", "to", "custom_csc"), csc.GeneratePathToTool()); 474csc.ToolExe = Path.Combine("path", "to", "custom_csc"); 477Assert.Equal(Path.Combine("path", "to", "custom_csc"), csc.GeneratePathToTool()); 484csc.ToolPath = Path.Combine("path", "to", "custom_csc"); 492csc.ToolPath = Path.Combine("path", "to", "custom_csc");
DotNetSdkTests.cs (1)
31root3 ??= Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".nuget", "packages");
TestUtilities\DotNetSdkTestBase.cs (1)
64=> Path.Combine(dotnetInstallDir, "sdk", version);
Microsoft.CodeAnalysis (4)
AssemblyUtilities.cs (1)
44satelliteAssemblyPath = Path.Combine(subDirectory, resourcesNameWithoutExtension, resourcesNameWithExtension);
DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (1)
317var filePath = Path.Combine(path, cultureInfo.Name, satelliteAssemblyName);
DiagnosticAnalyzer\ShadowCopyAnalyzerPathResolver.cs (1)
174var shadowSatellitePath = Path.Combine(analyzerShadowDir, satelliteDirectoryName!, satelliteFileName);
SourceGeneration\GeneratorDriver.cs (1)
443return Path.Combine(baseDirectory ?? "", type.Assembly.GetName().Name ?? string.Empty, type.FullName!);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (8)
CommandLineTests.cs (8)
13923ValidateEmbeddedSources_Portable(new Dictionary<string, string> { { Path.Combine(dir.Path, generatorPrefix, $"generatedSource.cs"), generatedSource } }, dir, true); 13964ValidateEmbeddedSources_Portable(new Dictionary<string, string> { { Path.Combine(dir.Path, generatorPrefix, "generatedSource.cs"), generatedSource } }, dir, true); 14007{ Path.Combine(dir.Path, generator1Prefix, source1Name), source1}, 14008{ Path.Combine(dir.Path, generator2Prefix, source2Name), source2}, 14091{ Path.Combine(generatedDir.Path, generatorPrefix, expectedDir), new() { { expectedFileName, generatedSource } } } 14193{ Path.Combine(generatedDir.Path, generatorPrefix, expectedDir), new() { { generatedFileName, generatedSource } } } 14246{ Path.Combine(generatedDir.Path, "generator", "TestGenerator"), new() { { "generatedSource.cs", "//from version 2.0.0.0" } } } 14319string baseDirectory = Path.Combine(root, "abc", "def");
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
PDB\PDBTests.cs (2)
117var path1 = Path.Combine("Microsoft.CodeAnalysis.Test.Utilities", "Roslyn.Test.Utilities.TestGenerators.TestSourceGenerator", "hint1.cs"); 118var path2 = Path.Combine("Microsoft.CodeAnalysis.Test.Utilities", "Roslyn.Test.Utilities.TestGenerators.TestSourceGenerator", "hint2.cs");
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
SourceGeneration\GeneratorDriverTests.cs (3)
537Path.Combine(generator.GetType().Assembly.GetName().Name!, generator.GetType().FullName!, "source.cs"), 538Path.Combine(generator2.GetType().Assembly.GetName().Name!, generator2.GetType().FullName!, "source.cs") 4298""", Path.Combine(projectDir, "src", "Program.cs"));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
DocumentationComments\DocumentationCommentCompilerTests.cs (2)
8365/// <include file='" + Path.Combine(dirPath, "a/..", fileName) + @"' path='hello'/> 8366/// <include file='" + Path.Combine(dirPath, @"a\b/../..", fileName) + @"' path='hello'/>
Microsoft.CodeAnalysis.EditorFeatures (1)
Preview\AbstractPreviewFactoryService.cs (1)
666buffer, Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString(), document.Name));
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
Analyzers\OmnisharpAnalyzerLoaderFactory.cs (1)
13baseDirectory ??= Path.Combine(Path.GetTempPath(), "CodeAnalysis", "OmnisharpAnalyzerShadowCopies");
Microsoft.CodeAnalysis.Features (5)
EditAndContinue\TraceLog.cs (1)
56var directory = Path.Combine(_logDirectory, sessionId.Ordinal.ToString(), relativePath);
MetadataAsSource\MetadataAsSourceGeneratedFileInfo.cs (1)
45this.TemporaryFilePath = Path.Combine(rootPath, directoryName, topLevelNamedType.Name + extension);
PdbSourceDocument\ImplementationAssemblyLookupService.cs (1)
132var pathToTry = Path.Combine(
SymbolSearch\Windows\SymbolSearchUpdateEngine.Update.cs (1)
101private readonly DirectoryInfo _cacheDirectoryInfo = new DirectoryInfo(Path.Combine(
UnusedReferences\ProjectAssets\ProjectAssetsReader.cs (1)
150compilationAssemblies.Add(Path.GetFullPath(Path.Combine(packagesPath, library.Path ?? "", assemblyPath)));
Microsoft.CodeAnalysis.Features.UnitTests (5)
EditAndContinue\CompileTimeSolutionProviderTests.cs (3)
31var additionalFilePath = Path.Combine(TempRoot.Root, "a", $"X.{kind}"); 32var designTimeFilePath = Path.Combine(TempRoot.Root, "a", $"X.{kind}.g.cs"); 35var sourceGeneratedPathPrefix = Path.Combine(TempRoot.Root, typeof(TestSourceGenerator).Assembly.GetName().Name!, typeof(TestSourceGenerator).FullName);
EditAndContinue\EmitSolutionUpdateResultsTests.cs (2)
70var sourcePath = Path.Combine(TempRoot.Root, "x", "a.cs"); 71var razorPath1 = Path.Combine(TempRoot.Root, "x", "a.razor");
Microsoft.CodeAnalysis.InteractiveHost (2)
Interactive\Core\InteractiveHostOptions.cs (2)
66var hostPath = Path.Combine(hostDirectory, hostSubdirectory, hostExecutableFileName); 67var initializationFilePath = (initializationFileName != null) ? Path.Combine(hostDirectory, hostSubdirectory, initializationFileName) : null;
Microsoft.CodeAnalysis.LanguageServer (1)
Testing\RunTestsHandler.cs (1)
57LogFilePath = Path.Combine(serverConfiguration.ExtensionLogDirectory, "testLogs", "vsTestLogs.txt"),
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (6)
CodeActions\CodeActionResolveTests.cs (2)
399DocumentFileContainingFolders = [Path.Combine("dir1", "dir2", "dir3")], 421Assert.Contains(Path.Combine("dir1", "dir2", "dir3"), existingDocument.FilePath);
InlineCompletions\TestSnippetInfoService.cs (1)
28var snippetsFile = Path.Combine(Directory.GetCurrentDirectory(), "InlineCompletions", "TestSnippets.snippet");
Options\SolutionAnalyzerConfigOptionsUpdaterTests.cs (3)
123filePath: Path.Combine(TempRoot.Root, "proj_without_config", "test.cs"))); 139filePath: Path.Combine(TempRoot.Root, "proj_with_config", ".editorconfig"))); 144filePath: Path.Combine(TempRoot.Root, "proj_with_config", "test.cs")));
Microsoft.CodeAnalysis.LanguageServer.UnitTests (2)
Utilities\TestPaths.cs (2)
16=> Path.Combine(AppContext.BaseDirectory, DevKitExtensionSubdirectory, DevKitAssemblyFileName); 25=> Path.Combine(AppContext.BaseDirectory, LanguageServerSubdirectory, LanguageServerAssemblyFileName);
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
src\VisualStudio\Core\Def\Watson\FaultReporter.cs (1)
287var logPath = Path.Combine(Path.GetTempPath(), "servicehub", "logs");
Microsoft.CodeAnalysis.ResxSourceGenerator.UnitTests (2)
Verifiers\CSharpSourceGeneratorVerifier`1+Test.cs (1)
84var resourceDirectory = Path.Combine(Path.GetDirectoryName(_testFile)!, "Resources", ResourceName);
Verifiers\VisualBasicSourceGeneratorVerifier`1+Test.cs (1)
69var resourceDirectory = Path.Combine(Path.GetDirectoryName(_testFile)!, "Resources", ResourceName);
Microsoft.CodeAnalysis.Scripting (4)
Hosting\AssemblyLoader\MetadataShadowCopyProvider.cs (3)
568string xmlCopyPath = Path.Combine(assemblyCopyDirectory, xmlSubdirectory, xmlFileName); 569string xmlOriginalPath = Path.Combine(assemblyDirectory, xmlSubdirectory, xmlFileName); 593if (File.Exists(Path.Combine(assemblyDirectory, docSubdirectory, docFileName)))
src\Compilers\Shared\GlobalAssemblyCacheHelpers\MonoGlobalAssemblyCache.cs (1)
49corlibFriendPath = Path.Combine(s_corlibDirectory, "Facades", fileName);
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (1)
MetadataShadowCopyProviderTests.cs (1)
236Assert.Equal(Path.Combine(Path.GetDirectoryName(sc.PrimaryModule.FullPath), @"el-GR", "a.xml"), sc.DocumentationFile.FullPath);
Microsoft.CodeAnalysis.Test.Utilities (1)
CompilationVerifier.cs (1)
174var dumpDirectory = Path.Combine(TempRoot.Root, "dumps", dumpCount.ToString());
Microsoft.CodeAnalysis.UnitTests (1)
ShadowCopyAnalyzerPathResolverTests.cs (1)
101var groupDir = Path.Combine(dir, groupName, "analyzers");
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
CommandLineTests.vb (1)
10636Dim baseDirectory As String = Path.Combine(root, "abc", "def")
Microsoft.CodeAnalysis.Workspaces (6)
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (1)
317var filePath = Path.Combine(path, cultureInfo.Name, satelliteAssemblyName);
src\Compilers\Core\Portable\DiagnosticAnalyzer\ShadowCopyAnalyzerPathResolver.cs (1)
174var shadowSatellitePath = Path.Combine(analyzerShadowDir, satelliteDirectoryName!, satelliteFileName);
Workspace\Host\Metadata\IAnalyzerAssemblyLoaderProvider.cs (1)
69Path.Combine(Path.GetTempPath(), nameof(Roslyn), "AnalyzerAssemblyLoader"),
Workspace\Host\PersistentStorage\IPersistentStorageConfiguration.cs (1)
73return Path.Combine(
Workspace\ProjectSystem\FileWatchedPortableExecutableReferenceFactory.cs (2)
93referenceDirectories.Add(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "dotnet", "packs")); 110referenceDirectories.Add(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".nuget", "packages"));
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\BuildHostProcessManager.cs (1)
245buildHostPath = Path.Combine(MSBuildWorkspaceDirectory, contentFolderName, assemblyName);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestHostProject`1.cs (1)
312return CompilationOptions == null ? "" : Path.Combine(GetTestOutputDirectory(projectFilePath), subdir, AssemblyName + GetDefaultExtension(CompilationOptions.OutputKind));
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
SolutionTests\SolutionTests.cs (3)
1162var assemblyPath = Path.Combine(TempRoot.Root, "bin", "assemblyName.dll"); 2309var solution4 = solution3.AddAnalyzerConfigDocument(editorConfigId, ".editorconfig", SourceText.From(editorConfigContent), filePath: Path.Combine(s_projectDir, "subfolder", ".editorconfig")); 2341sourcePathOptions = project2.State.GetAnalyzerOptionsForPath(Path.Combine(s_projectDir, "subfolder", "x.cs"), CancellationToken.None);
SolutionTests\SolutionWithSourceGeneratorTests.cs (1)
46var assemblyPath = Path.Combine(TempRoot.Root, "assemblyDir", "assembly.dll");
Microsoft.Data.Analysis.Tests (2)
test\Microsoft.ML.TestFramework\BaseTestClass.cs (2)
39DataDir = Path.Combine(RootDir, "test", "data"); 115return Path.GetFullPath(Path.Combine(DataDir, subDir, name));
Microsoft.DotNet.Arcade.Sdk (1)
src\LocateDotNet.cs (1)
73if (dotNetDir == null || !Directory.Exists(Path.Combine(dotNetDir, "sdk", sdkVersion)))
Microsoft.DotNet.Arcade.Sdk.Tests (3)
Utilities\TestApp.cs (1)
101CopyRecursive(Path.Combine(WorkingDirectory, "artifacts", "log"), _logOutputDir);
Utilities\TestProjectFixture.cs (2)
43var tempDir = Path.Combine(Path.GetTempPath(), "arcade", instanceName); 55var pkgRoot = Path.Combine(nugetRoot, package, pkgVersion);
Microsoft.DotNet.Build.Manifest.Tests (1)
TestInputs\TestInputs.cs (1)
12return Path.Combine(
Microsoft.DotNet.Build.Tasks.Feed.Tests (1)
src\Microsoft.DotNet.Build.Manifest.Tests\TestInputs\TestInputs.cs (1)
12return Path.Combine(
Microsoft.DotNet.Build.Tasks.Installers (5)
src\BuildFPMToolPreReqs.cs (5)
67string changelogFile = Path.Combine(InputDir, "templates", "changelog"); 95string copyrightFile = Path.Combine(InputDir, "templates", "copyright"); 208parameters.Add(string.Concat("--rpm-changelog ", EscapeArg(Path.Combine(InputDir, "templates", "changelog")))); // Changelog File 224if (configJson.Install_Man != null) parameters.Add(string.Concat(Path.Combine(InputDir, "docs", "host/="), configJson.Install_Man)); // Man Pages 225if (configJson.Install_Doc != null) parameters.Add(string.Concat(Path.Combine(InputDir, "templates", "copyright="), configJson.Install_Doc)); // CopyRight File
Microsoft.DotNet.Build.Tasks.Packaging (4)
GetLayoutFiles.cs (2)
128var destination = Path.Combine(DestinationDirectory, subfolder, Path.GetFileName(source)); 142var symbolDestination = Path.Combine(DestinationDirectory, subfolder, Path.GetFileName(symbolSource));
HarvestPackage.cs (2)
472var candidateFolder = Path.Combine(packageFolder, packageId, packageVersion); 480candidateFolder = Path.Combine(packageFolder, packageId.ToLowerInvariant(), packageVersion.ToLowerInvariant());
Microsoft.DotNet.Build.Tasks.Packaging.Tests (2)
HarvestPackageTests.cs (2)
70string packageFolder = Path.Combine(packagesCandidate, packageId, packageVersion); 71string packageFolderLower = Path.Combine(packagesCandidate, packageId.ToLowerInvariant(), packageVersion.ToLowerInvariant());
Microsoft.DotNet.Build.Tasks.Templating.Tests (1)
GenerateFileFromTemplateTests.cs (1)
90return Path.Combine(
Microsoft.DotNet.Build.Tasks.VisualStudio (1)
OptProf\GenerateTrainingInputFiles.cs (1)
118var configurationsDir = Path.Combine(OutputDirectory, test.Container, "Configurations");
Microsoft.DotNet.Build.Tasks.Workloads (3)
Swix\ComponentSwixProject.cs (1)
39ProjectSourceDirectory = Path.Combine(SwixDirectory, $"{component.SdkFeatureBand}",
Swix\PackageGroupSwixProject.wix.cs (1)
41ProjectSourceDirectory = Path.Combine(SwixDirectory, $"{packageGroup.SdkFeatureBand}",
WorkloadManifestPackage.wix.cs (1)
110string primaryManifest = Path.Combine(DestinationDirectory, "data", ManifestFileName);
Microsoft.DotNet.Build.Tasks.Workloads.Tests (3)
SwixComponentTests.cs (1)
19public string RandomPath => Path.Combine(AppContext.BaseDirectory, "obj", Path.GetFileNameWithoutExtension(Path.GetTempFileName()));
TestBase.cs (2)
11public static readonly string BaseIntermediateOutputPath = Path.Combine(AppContext.BaseDirectory, "obj", Path.GetFileNameWithoutExtension(Path.GetTempFileName())); 12public static readonly string BaseOutputPath = Path.Combine(AppContext.BaseDirectory, "bin", Path.GetFileNameWithoutExtension(Path.GetTempFileName()));
Microsoft.DotNet.Helix.Sdk (1)
InstallDotNetTool.cs (1)
99ToolPath = Path.Combine(DestinationPath, Name, Version);
Microsoft.DotNet.Helix.Sdk.Tests (2)
InstallDotNetToolTests.cs (2)
25private static readonly string s_installedPath = Path.Combine(InstallPath, ToolName, ToolVersion); 172Path.Combine(InstallPath, ToolName, ToolVersion),
Microsoft.DotNet.MacOsPkg.Core (1)
AppBundle.cs (1)
29File.Exists(Path.Combine(path, "Contents", "Info.plist"));
Microsoft.DotNet.MacOsPkg.Tests (5)
UnpackPackTests.cs (5)
57(Path.Combine("Contents", "MacOS", "main"), executableFileMode), 58(Path.Combine("Contents", "Resources", "libexample.dylib"), executableFileMode) 111Unpack(Path.Combine(unpackPkgPath, "Payload", "test.app"), unpackAppPath, appFiles); 156string appPath = Path.Combine(unpackComponentPath, "Payload", "test.app"); 235return Path.Combine(
Microsoft.DotNet.Open.Api.Tools.Tests (2)
OpenApiAddProjectTests.cs (1)
71run = app.Execute(new[] { "add", "project", Path.Combine(csproj.Path, "..", "refProj.csproj") });
src\Tools\Shared\TestHelpers\TemporaryDirectory.cs (1)
21Root = Path.Combine(ResolveLinks(Path.GetTempPath()), "dotnet-tool-tests", Guid.NewGuid().ToString("N"));
Microsoft.DotNet.SignCheckLibrary (2)
Verification\ArchiveVerifier.cs (1)
175return Path.Combine(tempPath, hashedPath, aliasFileName);
Verification\SignatureVerificationResult.cs (1)
189_tempPath = Path.Combine(Path.GetTempPath(), "SignCheck", Path.GetRandomFileName());
Microsoft.DotNet.SignTool (6)
src\BatchSignUtil.cs (1)
173string engineFileName = $"{Path.Combine(workingDirectory, $"{engineContainer}", file.FileName)}{SignToolConstants.MsiEngineExtension}";
src\Configuration.cs (1)
802string tempPath = Path.Combine(_pathToContainerUnpackingDirectory, extractPathRoot, entry.RelativePath);
src\SignTool.cs (2)
191AppendLine(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "MicroBuild.Core.props")}"" />"); 220AppendLine(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "MicroBuild.Core.targets")}"" />");
src\ZipData.cs (2)
245string workingDir = Path.Combine(tempDir, "extract", workingDirGuidSegment); 246string outputDir = Path.Combine(tempDir, "output", outputDirGuidSegment);
Microsoft.DotNet.SignTool.Tests (7)
SignToolTests.cs (7)
273return Path.Combine(Path.GetDirectoryName(typeof(SignToolTests).Assembly.Location), "tools", "wix"); 282var srcPath = Path.Combine(Path.GetDirectoryName(typeof(SignToolTests).Assembly.Location), "Resources", name); 2302$"{Path.Combine(_tmpDir, "A", "PackageWithRelationships.vsix")} -> {Path.Combine(_tmpDir, "B", "PackageWithRelationships.vsix")}" 2322<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(_tmpDir, "A", "PackageWithRelationships.vsix"))}""> 2984string workingDir = Path.Combine(tempDir, "extract", Guid.NewGuid().ToString()); 2985string outputDir = Path.Combine(tempDir, "output", Guid.NewGuid().ToString());
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Languages\Language.cs (1)
23string templateDirectory = Path.GetFullPath(Path.Combine(
Microsoft.DotNet.XliffTasks (2)
Tasks\GatherXlf.cs (1)
66Path.Combine(TranslatedOutputDirectory, language, $"{translatedFileName}{extension}") :
Tasks\XlfTask.cs (1)
106return Path.Combine(directory, "xlf", filename + xlfExtension);
Microsoft.Extensions.AI.Evaluation.Reporting (3)
Storage\DiskBasedResponseCache.cs (1)
51_iterationPath = Path.Combine(cacheRootPath, scenarioName, iterationName);
Storage\DiskBasedResultStore.cs (2)
93new DirectoryInfo(Path.Combine(_resultsRootPath, result.ExecutionName, result.ScenarioName)); 133new DirectoryInfo(Path.Combine(_resultsRootPath, executionName, scenarioName));
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (2)
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());
Microsoft.Extensions.AI.Templates.Tests (2)
Infrastructure\WellKnownPaths.cs (2)
30TemplateFeedLocation = Path.Combine(RepoRoot, "src", "ProjectTemplates"); 72var dotNetExePath = Path.Combine(RepoRoot, ".dotnet", dotNetExeName);
Microsoft.Extensions.ApiDescription.Client.Tests (35)
GetOpenApiReferenceMetadataTest.cs (11)
23var identity = Path.Combine("TestProjects", "files", "NSwag.json"); 77var identity = Path.Combine("TestProjects", "files", "NSwag.json"); 138var identity = Path.Combine("TestProjects", "files", "NSwag.json"); 197var identity = Path.Combine("TestProjects", "files", "NSwag.json"); 258var identity1 = Path.Combine("TestProjects", "files", "NSwag.json"); 259var identity2 = Path.Combine("TestProjects", "files", "swashbuckle.json"); 304var identity = Path.Combine("TestProjects", "files", "NSwag.json"); 349var identity = Path.Combine("TestProjects", "files", "NSwag.json"); 415var identity = Path.Combine("TestProjects", "files", "NSwag.json"); 473var identity12 = Path.Combine("TestProjects", "files", "NSwag.json"); 474var identity3 = Path.Combine("TestProjects", "files", "swashbuckle.json");
src\Tools\Shared\TestHelpers\TemporaryDirectory.cs (1)
21Root = Path.Combine(ResolveLinks(Path.GetTempPath()), "dotnet-tool-tests", Guid.NewGuid().ToString("N"));
TargetTest.cs (23)
43directory = new DirectoryInfo(Path.Combine(_assemblyLocation, "TestProjects", "build")); 50directory = new DirectoryInfo(Path.Combine(_assemblyLocation, "TestProjects", "files")); 80Assert.Contains($"Compile: {Path.Combine(_temporaryDirectory.Root, "obj", "azureMonitorClient.cs")}", process.Output); 123Assert.Contains($"Compile: {Path.Combine(_temporaryDirectory.Root, "obj", "azureMonitorClient.cs")}", process.Output); 124Assert.Contains($"Compile: {Path.Combine(_temporaryDirectory.Root, "obj", "NSwagClient.cs")}", process.Output); 125Assert.Contains($"Compile: {Path.Combine(_temporaryDirectory.Root, "obj", "swashbuckleClient.cs")}", process.Output); 149Assert.Contains($"Compile: {Path.Combine("obj", "azureMonitorClient.cs", "Generated1.cs")}", process.Output); 150Assert.Contains($"Compile: {Path.Combine("obj", "azureMonitorClient.cs", "Generated2.cs")}", process.Output); 152$"FileWrites: {Path.Combine("obj", "azureMonitorClient.cs", "Generated1.cs")}", 155$"FileWrites: {Path.Combine("obj", "azureMonitorClient.cs", "Generated2.cs")}", 178$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " + 203$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " + 228$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " + 255$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " + 280$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " + 305$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " + 330$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " + 357$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " + 381$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " + 387$"{Path.Combine(_temporaryDirectory.Root, "files", "NSwag.json")} " + 393$"{Path.Combine(_temporaryDirectory.Root, "files", "swashbuckle.json")} " + 422$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " + 428$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
Microsoft.Extensions.ApiDescription.Tool.Tests (1)
src\Tools\Shared\TestHelpers\TemporaryDirectory.cs (1)
21Root = Path.Combine(ResolveLinks(Path.GetTempPath()), "dotnet-tool-tests", Guid.NewGuid().ToString("N"));
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (2)
Infrastructure\RedisTestConfig.cs (2)
137return Path.Combine(configFilePath, UserProfileRedisNugetPackageServerPath, RedisServerExeName); 143return Path.Combine(configFilePath, CIMachineRedisNugetPackageServerPath, RedisServerExeName);
Microsoft.Extensions.DependencyModel (1)
Resolution\PackageCompilationAssemblyResolver.cs (1)
66return [Path.Combine(basePath, ".nuget", "packages")];
Microsoft.Extensions.FileProviders.Embedded.Tests (2)
ManifestEmbeddedFileProviderTests.cs (2)
187var jqueryValidate = provider.GetFileInfo(Path.Combine(".", "wwwroot", "jquery.validate.js")); 210var jqueryValidate = provider.GetFileInfo(Path.Combine("..", "wwwroot", "jquery.validate.js"));
Microsoft.Extensions.Logging.AzureAppServices (2)
FileLoggerConfigureOptions.cs (1)
23options.LogDirectory = Path.Combine(_context.HomeFolder, "LogFiles", "Application");
SiteConfigurationProvider.cs (1)
13var settingsFolder = Path.Combine(context.HomeFolder, "site", "diagnostics");
Microsoft.Extensions.SecretManager.Tools.Tests (5)
SecretManagerTests.cs (2)
63var projectPath = Path.Combine(_fixture.GetTempSecretProject(), "does_not_exist", "TestProject.csproj"); 80Assert.Contains(Resources.FormatMessage_Project_File_Path(Path.Combine(cwd, "..", "TestProject.csproj")), _console.GetOutput());
src\Tools\Shared\TestHelpers\TemporaryDirectory.cs (1)
21Root = Path.Combine(ResolveLinks(Path.GetTempPath()), "dotnet-tool-tests", Guid.NewGuid().ToString("N"));
TemporaryFileProvider.cs (1)
14Root = Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), "tmpfiles", Guid.NewGuid().ToString())).FullName;
UserSecretsTestFixture.cs (1)
57var projectPath = Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), "usersecretstest", Guid.NewGuid().ToString()));
Microsoft.ML.AutoML (1)
Experiment\Experiment.cs (1)
230var experimentDirFullPath = Path.Combine(tempDirectory, cacheDirectoryName, $"experiment_{Path.GetRandomFileName()}");
Microsoft.ML.AutoML.Tests (1)
DatasetUtil.cs (1)
132string imagesDownloadFolderPath = Path.Combine(assetsPath, "inputs",
Microsoft.ML.Core (2)
Data\Repository.cs (1)
245string entityPath = Path.Combine(root, dir ?? "", name);
Utilities\PathUtils.cs (1)
114candidate = Path.Combine(dir, folderPrefix, fileName);
Microsoft.ML.Core.Tests (3)
UnitTests\TestCustomTypeRegister.cs (1)
225var modelPath = Path.Combine(DataDir, "backcompat", "customTransform.zip");
UnitTests\TestEntryPoints.cs (2)
237var entryPointsSubDir = Path.Combine("..", "Common", "EntryPoints"); 265var entryPointsSubDir = Path.Combine("..", "Common", "EntryPoints");
Microsoft.ML.DnnImageFeaturizer.AlexNet (2)
AlexNetExtension.cs (2)
46var prepEstimator = new OnnxScoringEstimator(env, new[] { "PreprocessedInput" }, new[] { "OriginalInput" }, Path.Combine(modelDir, "AlexNetPrepOnnx", "AlexNetPreprocess.onnx")); 47var mainEstimator = new OnnxScoringEstimator(env, new[] { "Dropout234_Output_0" }, new[] { "Input140" }, Path.Combine(modelDir, "AlexNetOnnx", "AlexNet.onnx"));
Microsoft.ML.DnnImageFeaturizer.ResNet101 (2)
ResNet101Extension.cs (2)
46var prepEstimator = new OnnxScoringEstimator(env, new[] { "PreprocessedInput" }, new[] { "OriginalInput" }, Path.Combine(modelDir, "ResNetPrepOnnx", "ResNetPreprocess.onnx")); 47var mainEstimator = new OnnxScoringEstimator(env, new[] { "Pooling2286_Output_0" }, new[] { "Input1600" }, Path.Combine(modelDir, "ResNet101Onnx", "ResNet101.onnx"));
Microsoft.ML.DnnImageFeaturizer.ResNet18 (2)
ResNet18Extension.cs (2)
46var prepEstimator = new OnnxScoringEstimator(env, new[] { "PreprocessedInput" }, new[] { "OriginalInput" }, Path.Combine(modelDir, "ResNetPrepOnnx", "ResNetPreprocess.onnx")); 47var mainEstimator = new OnnxScoringEstimator(env, new[] { "Pooling395_Output_0" }, new[] { "Input247" }, Path.Combine(modelDir, "ResNet18Onnx", "ResNet18.onnx"));
Microsoft.ML.DnnImageFeaturizer.ResNet50 (2)
ResNet50Extension.cs (2)
46var prepEstimator = new OnnxScoringEstimator(env, new[] { "PreprocessedInput" }, new[] { "OriginalInput" }, Path.Combine(modelDir, "ResNetPrepOnnx", "ResNetPreprocess.onnx")); 47var mainEstimator = new OnnxScoringEstimator(env, new[] { "Pooling1096_Output_0" }, new[] { "Input750" }, Path.Combine(modelDir, "ResNet50Onnx", "ResNet50.onnx"));
Microsoft.ML.IntegrationTests (1)
IntegrationTestBaseClass.cs (1)
22DataDir = Path.Combine(RootDir, "test", "data");
Microsoft.ML.OnnxTransformerTest (9)
OnnxTransformTests.cs (9)
425var modelFile = Path.Combine(Directory.GetCurrentDirectory(), "twoinput", "twoinput.onnx"); 465var modelFile = Path.Combine(Directory.GetCurrentDirectory(), "twoinput", "twoinput.onnx"); 686var modelFile = Path.Combine(Directory.GetCurrentDirectory(), "zipmap", "TestZipMapInt64.onnx"); 739var modelFile = Path.Combine(Directory.GetCurrentDirectory(), "zipmap", "TestZipMapString.onnx"); 790var modelFile = Path.Combine(Directory.GetCurrentDirectory(), "zipmap", "TestZipMapInt64.onnx"); 809var modelFile = Path.Combine(Directory.GetCurrentDirectory(), "zipmap", "TestZipMapInt64.onnx"); 882var modelFile = Path.Combine(Directory.GetCurrentDirectory(), "unknowndimensions", "test_unknowndimensions_float.onnx"); 960var modelFile = Path.Combine(Directory.GetCurrentDirectory(), "twoinput", "twoinput.onnx"); 1052var modelFile = Path.Combine(Directory.GetCurrentDirectory(), "unknowndimensions", "test_unknowndimensions_float.onnx");
Microsoft.ML.PerformanceTests (4)
BenchmarkBase.cs (2)
19DataDir = Path.Combine(RootDir, "test", "data"); 39Path.GetFullPath(Path.Combine(DataDir, path, name));
ImageClassificationBench.cs (2)
40var outputMlNetModelFilePath = Path.Combine(assetsPath, "outputs", 44string imagesDownloadFolderPath = Path.Combine(assetsPath, "inputs",
Microsoft.ML.Samples (4)
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
25string imagesDownloadFolderPath = Path.Combine(assetsPath, "inputs",
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
26string imagesDownloadFolderPath = Path.Combine(assetsPath, "inputs",
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
26string imagesDownloadFolderPath = Path.Combine(assetsPath, "inputs",
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
26string imagesDownloadFolderPath = Path.Combine(assetsPath, "inputs",
Microsoft.ML.Samples.GPU (4)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
25string imagesDownloadFolderPath = Path.Combine(assetsPath, "inputs",
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
26string imagesDownloadFolderPath = Path.Combine(assetsPath, "inputs",
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
26string imagesDownloadFolderPath = Path.Combine(assetsPath, "inputs",
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
26string imagesDownloadFolderPath = Path.Combine(assetsPath, "inputs",
Microsoft.ML.SamplesUtils (2)
SamplesDatasetUtils.cs (2)
185Download(Path.Combine(remotePath, "variables", "variables.data-00000-of-00001"), Path.Combine(varPath, "variables.data-00000-of-00001")).Wait(); 186Download(Path.Combine(remotePath, "variables", "variables.index"), Path.Combine(varPath, "variables.index")).Wait();
Microsoft.ML.TensorFlow (1)
TensorflowTransform.cs (1)
473Path.Combine(_savedModelPath, DefaultModelFileNames.VariablesFolder, DefaultModelFileNames.Index)
Microsoft.ML.TensorFlow.Tests (7)
TensorflowTests.cs (7)
68string imagesDownloadFolderPath = Path.Combine(TensorFlowScenariosTestsFixture.assetsPath, "inputs", 1562ImagePath = Path.Combine(_fullImagesetFolderPath, "daisy", "5794835_d15905c7c8_n.jpg") 1568ImagePath = Path.Combine(_fullImagesetFolderPath, "roses", "12240303_80d87f77a3_n.jpg") 1721ImagePath = Path.Combine(_fullImagesetFolderPath, "daisy", "5794835_d15905c7c8_n.jpg") 1727ImagePath = Path.Combine(_fullImagesetFolderPath, "roses", "12240303_80d87f77a3_n.jpg") 1749Assert.True(File.Exists(Path.Combine(Path.GetTempPath(), "MLNET", ImageClassificationTrainer.ModelFileName[options.Arch]))); 1841string imagesDownloadFolderPath = Path.Combine(TensorFlowScenariosTestsFixture.assetsPath, "inputs",
Microsoft.ML.TestFramework (6)
BaseTestBaseline.cs (2)
94string baselineRootDir = Path.Combine(RootDir, TestDir, "BaselineOutput"); 297return Path.GetFullPath(Path.Combine(_baselineCommonDir, subDir, name));
BaseTestClass.cs (2)
39DataDir = Path.Combine(RootDir, "test", "data"); 115return Path.GetFullPath(Path.Combine(DataDir, subDir, name));
DataPipe\PartitionedFileLoaderTests.cs (2)
30string pathData = Path.Combine(basePath, "...", "*.csv"); 44string pathData = Path.Combine(basePath, "...", "*.csv");
Microsoft.ML.TestFrameworkCommon (3)
TestCommon.cs (2)
27return Path.Combine(outDir, subDir, name); // REVIEW: put the path in in braces in case the path has spaces 40return Path.GetFullPath(Path.Combine(dataDir, subDir, name));
Utility\PathResolver.cs (1)
151return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".nuget", "packages");
Microsoft.ML.Tests (11)
OnnxConversionTest.cs (9)
87var subDir = Path.Combine("Onnx", "Regression", "Adult"); 165var subDir = Path.Combine("Onnx", "Cluster", "BreastCancer"); 207var subDir = Path.Combine("Onnx", "Regression", "Adult"); 442var subDir = Path.Combine("Onnx", "BinaryClassification", "BreastCancer"); 584var subDir = Path.Combine("Onnx", "BinaryClassification", "BreastCancer"); 610var subDir = Path.Combine("Onnx", "BinaryClassification", "BreastCancer"); 635var subDir = Path.Combine("Onnx", "MultiClassClassification", "BreastCancer"); 817var subDir = Path.Combine("Onnx", "BinaryClassification", "BreastCancer"); 856var subDir = Path.Combine("Onnx", "Transforms", "Sentiment");
OnnxSequenceTypeWithAttributesTest.cs (2)
59var modelFile = Path.Combine(Directory.GetCurrentDirectory(), "zipmap", "TestZipMapString.onnx"); 98var modelFile = Path.Combine(Directory.GetCurrentDirectory(), "zipmap", "TestZipMapString.onnx");
Microsoft.ML.Vision (2)
DnnRetrainTransform.cs (2)
707Path.Combine(_modelLocation, DefaultModelFileNames.VariablesFolder, DefaultModelFileNames.Data), 708Path.Combine(_modelLocation, DefaultModelFileNames.VariablesFolder, DefaultModelFileNames.Index),
Microsoft.VisualStudio.LanguageServices (4)
EditAndContinue\EditAndContinueFeedbackDiagnosticFileProvider.cs (2)
94=> Path.Combine(Path.Combine(_tempDir, $"EnC_{_vsProcessId}", "Log")); 97=> Path.Combine(Path.Combine(_tempDir, $"EnC_{_vsProcessId}", ZipFileName));
Watson\FaultReporter.cs (1)
287var logPath = Path.Combine(Path.GetTempPath(), "servicehub", "logs");
Workspace\SourceGeneratedFileManager.cs (1)
120var temporaryFilePath = Path.Combine(
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
ProjectSystemShim\LegacyProject\SourceFileHandlingTests.cs (1)
82project.AddFileEx(Path.Combine(projectFolder, "RelativeFolder", "Cat.cs"), null);
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (1)
MockExtensionManager.vb (1)
39Return Path.Combine(TempRoot.Root, "InstallPath", content.RelativePath)
Microsoft.VisualStudio.LanguageServices.UnitTests (7)
ProjectSystemShim\VisualStudioProjectTests\AnalyzerReferenceTests.vb (6)
149project.AddAnalyzerReference(Path.Combine(TempRoot.Root, "Dir", "File.dll")) 154Path.Combine(TempRoot.Root, "Dir", "File.dll") 190project.AddAnalyzerReference(Path.Combine(TempRoot.Root, "Dir", "File.dll")) 195Path.Combine(TempRoot.Root, "Dir", "File.dll") 217project.AddAnalyzerReference(Path.Combine(TempRoot.Root, "Dir", "File.dll")) 224Path.Combine(TempRoot.Root, "Dir", "File.dll")
SolutionExplorer\CpsDiagnosticItemSourceTests.vb (1)
47New MockHierarchyItem() With {.CanonicalName = Path.Combine(TestWorkspace.RootDirectory, "net472", "analyzerdependency") + "\" + analyzerPath},
PrepareTests (6)
MinimizeUtil.cs (5)
52Path.Combine(sourceDirectory, "artifacts", "VSSetup"), 153rehydrateAllBuilder.AppendLine(@"bash """ + Path.Combine("$scriptroot", group.Key, "rehydrate.sh") + @""""); 158rehydrateAllBuilder.AppendLine("call " + Path.Combine("%~dp0", group.Key, "rehydrate.cmd")); 161File.WriteAllText(Path.Combine(destinationDirectory, group.Key, fileName), builder.ToString()); 173var file = Path.Combine(destinationDirectory, noDuplicate.Key, fileName);
TestDiscovery.cs (1)
21var binDirectory = Path.Combine(repoRootDirectory, "artifacts", "bin");
Roslyn.Test.Performance.Utilities (3)
VsPerfTest.cs (3)
25Path.Combine(System.Environment.GetEnvironmentVariable("UserProfile"), ".nuget", "packages"); 61var finalTest = template.Replace("ReplaceWithActualSolutionPath", Path.Combine(TempDirectory, _zipFileToDownload, _solutionToTest)); 95var logDirectory = Path.Combine(TempDirectory, _testName, "PerfResults");
RunTests (2)
HelixTestRunner.cs (1)
66var logsDir = Path.Combine(options.ArtifactsDirectory, "log", options.Configuration);
Options.cs (1)
217: Path.Combine(artifactsPath, "TestResults", configuration);
SignalR.Client.FunctionalTestApp (2)
src\SignalR\common\Shared\TestCertificates.cs (2)
35var certPath = Path.Combine(Path.GetDirectoryName(Assembly.GetCallingAssembly().Location), "TestCertificates", "testCert.pfx"); 41var certPath = Path.Combine(Path.GetDirectoryName(Assembly.GetCallingAssembly().Location), "TestCertificates", "testCertECC.pfx");
Sockets.BindTests (1)
src\Shared\TestResources.cs (1)
10private static readonly string _baseDir = Path.Combine(Directory.GetCurrentDirectory(), "shared", "TestCertificates");
Sockets.FunctionalTests (1)
src\Shared\TestResources.cs (1)
10private static readonly string _baseDir = Path.Combine(Directory.GetCurrentDirectory(), "shared", "TestCertificates");
System.Console (2)
src\libraries\System.Private.CoreLib\src\System\IO\PersistedFiles.Unix.cs (2)
28return Path.Combine(s_userProductDirectory, featureName, subFeatureName); 41s_userProductDirectory = Path.Combine(
System.IO.IsolatedStorage (1)
System\IO\IsolatedStorage\Helper.NonMobile.cs (1)
49randomDirectory = Path.Combine(rootDirectory, Path.GetRandomFileName(), Path.GetRandomFileName());
System.IO.Packaging (1)
System\IO\Packaging\PackUriHelper.cs (1)
214partName = Path.Combine(partName, RelationshipPartSegmentName, file); // Adding the "_rels" segment and the last segment back
System.Net.NetworkInformation (2)
System\Net\NetworkInformation\LinuxIPGlobalStatistics.cs (1)
36string forwardingConfigFile = Path.Combine(NetworkFiles.Ipv6ConfigFolder,
System\Net\NetworkInformation\LinuxIPInterfaceStatistics.cs (1)
26string transmitQueueLengthFilePath = Path.Combine(NetworkFiles.SysClassNetFolder, name, NetworkFiles.TransmitQueueLengthFileName);
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Environment.GetFolderPathCore.Unix.cs (1)
130data = Path.Combine(home, ".local", "share");
src\libraries\System.Private.CoreLib\src\System\IO\PersistedFiles.Unix.cs (2)
28return Path.Combine(s_userProductDirectory, featureName, subFeatureName); 41s_userProductDirectory = Path.Combine(
src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyDependencyResolver.cs (1)
130string assemblyPath = Path.Combine(
src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.cs (2)
766string assemblyPath = Path.Combine(parentDirectory, assemblyName.CultureName!, $"{assemblyName.Name}.dll"); 777assemblyPath = Path.Combine(parentDirectory, assemblyName.CultureName!.ToLowerInvariant(), $"{assemblyName.Name}.dll");
System.Security.Cryptography (2)
src\libraries\System.Private.CoreLib\src\System\IO\PersistedFiles.Unix.cs (2)
28return Path.Combine(s_userProductDirectory, featureName, subFeatureName); 41s_userProductDirectory = Path.Combine(
Templates.Blazor.Tests (4)
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
68: Path.Combine(Environment.GetEnvironmentVariable("HELIX_DIR"), "Templates", "BaseFolder");
src\ProjectTemplates\Shared\TemplatePackageInstaller.cs (1)
131var tempDir = Path.Combine(AppContext.BaseDirectory, Path.GetRandomFileName(), Guid.NewGuid().ToString("D"));
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
476return Path.Combine(homeDirectory, ".pki", "nssdb"); 486return Path.Combine(homeDirectory, ".mozilla", "firefox");
Templates.Blazor.WebAssembly.Auth.Tests (5)
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
68: Path.Combine(Environment.GetEnvironmentVariable("HELIX_DIR"), "Templates", "BaseFolder");
src\ProjectTemplates\Shared\TemplatePackageInstaller.cs (1)
131var tempDir = Path.Combine(AppContext.BaseDirectory, Path.GetRandomFileName(), Guid.NewGuid().ToString("D"));
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
476return Path.Combine(homeDirectory, ".pki", "nssdb"); 486return Path.Combine(homeDirectory, ".mozilla", "firefox");
src\Shared\E2ETesting\BrowserFixture.cs (1)
251return Path.Combine(Path.GetTempPath(), "BrowserFixtureUserProfiles", context);
Templates.Blazor.WebAssembly.Tests (5)
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
68: Path.Combine(Environment.GetEnvironmentVariable("HELIX_DIR"), "Templates", "BaseFolder");
src\ProjectTemplates\Shared\TemplatePackageInstaller.cs (1)
131var tempDir = Path.Combine(AppContext.BaseDirectory, Path.GetRandomFileName(), Guid.NewGuid().ToString("D"));
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
476return Path.Combine(homeDirectory, ".pki", "nssdb"); 486return Path.Combine(homeDirectory, ".mozilla", "firefox");
src\Shared\E2ETesting\BrowserFixture.cs (1)
251return Path.Combine(Path.GetTempPath(), "BrowserFixtureUserProfiles", context);
Templates.Mvc.Tests (7)
BlazorTemplateTest.cs (2)
182var multiProjectPath = Path.Combine(project.TemplateOutputDir, project.ProjectName, $"{project.ProjectName}.csproj"); 195var appRazorPath = Path.Combine(project.TemplateOutputDir, "Components", "App.razor");
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
68: Path.Combine(Environment.GetEnvironmentVariable("HELIX_DIR"), "Templates", "BaseFolder");
src\ProjectTemplates\Shared\TemplatePackageInstaller.cs (1)
131var tempDir = Path.Combine(AppContext.BaseDirectory, Path.GetRandomFileName(), Guid.NewGuid().ToString("D"));
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
476return Path.Combine(homeDirectory, ".pki", "nssdb"); 486return Path.Combine(homeDirectory, ".mozilla", "firefox");
src\Shared\E2ETesting\BrowserFixture.cs (1)
251return Path.Combine(Path.GetTempPath(), "BrowserFixtureUserProfiles", context);
Templates.Tests (5)
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
68: Path.Combine(Environment.GetEnvironmentVariable("HELIX_DIR"), "Templates", "BaseFolder");
src\ProjectTemplates\Shared\TemplatePackageInstaller.cs (1)
131var tempDir = Path.Combine(AppContext.BaseDirectory, Path.GetRandomFileName(), Guid.NewGuid().ToString("D"));
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
476return Path.Combine(homeDirectory, ".pki", "nssdb"); 486return Path.Combine(homeDirectory, ".mozilla", "firefox");
src\Shared\E2ETesting\BrowserFixture.cs (1)
251return Path.Combine(Path.GetTempPath(), "BrowserFixtureUserProfiles", context);
TestTasks (1)
InjectRequestHandler.cs (1)
61File.Copy(Path.Combine(outputFolder, bitnessString, aspnetcoreV2Name), Path.Combine(outputFolder, aspnetcoreV2Name), overwrite: true);
VBCSCompiler (1)
src\Compilers\Server\VBCSCompiler\CompilerRequestHandler.cs (1)
75AnalyzerAssemblyLoader = Microsoft.CodeAnalysis.AnalyzerAssemblyLoader.CreateNonLockingLoader(Path.Combine(Path.GetTempPath(), "VBCSCompiler", "AnalyzerAssemblyLoader"));
xunit.console (2)
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\Resolution\PackageCompilationAssemblyResolver.cs (1)
74return new string[] { Path.Combine(basePath, ".nuget", "packages") };
common\AssemblyResolution\XunitPackageCompilationAssemblyResolver.cs (1)
54results.Add(Path.Combine(basePath, ".nuget", "packages"));