789 references to Combine
aspire (1)
Aspire.Cli.Tests (1)
Aspire.Dashboard.Tests (1)
Aspire.EndToEnd.Tests (2)
Aspire.Hosting (1)
Aspire.Hosting.Azure.Functions (1)
Aspire.Hosting.Azure.Tests (4)
Aspire.Hosting.Python.Tests (1)
Aspire.Hosting.Testing (1)
Aspire.Templates.Tests (1)
AutobahnTestApp (1)
BuildBoss (1)
BuildValidator (1)
CatalogService (1)
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-svcutil-lib (8)
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");
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)
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)
IIS.FunctionalTests (4)
IIS.LongTests (7)
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.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.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)
IIS.Tests (1)
IISExpress.FunctionalTests (7)
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)
InMemory.FunctionalTests (3)
Interop.FunctionalTests (7)
InteropTests (2)
InteropWebsite (1)
Microsoft.Arcade.Common (1)
Microsoft.AspNetCore.Analyzer.Testing (1)
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 (3)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.DataProtection (3)
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.Hosting.Tests (1)
Microsoft.AspNetCore.Http.Extensions.Tests (4)
Microsoft.AspNetCore.Http.Microbenchmarks (2)
Microsoft.AspNetCore.Http.Results.Tests (3)
Microsoft.AspNetCore.Identity.Test (1)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.InternalTesting.Tests (2)
Microsoft.AspNetCore.Mvc.Core.Test (3)
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
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)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (2)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
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);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
Microsoft.AspNetCore.WebUtilities.Tests (1)
Microsoft.Build (7)
Microsoft.Build.BuildCheck.UnitTests (9)
EndToEndTests.cs (6)
163ReplaceStringInFile(Path.Combine(workFolder.Path, referencedProjectName, $"{referencedProjectName}.csproj"),
166Path.Combine(workFolder.Path, referencedProjectName, "Resource1.resx"),
167Path.Combine(workFolder.Path, referencedProjectName, $"Resource1.{resourceExtension}.resx"));
947var nugetTemplatePath = Path.Combine(TestAssetsRootPath, "CheckCandidate", nugetTemplateName);
1049File.ReadAllText(Path.Combine(TestAssetsRootPath, testAssetsFolderName, fileName))
1073string configContent = File.ReadAllText(Path.Combine(TestAssetsRootPath, testAssetsFolderName, $"{EditorConfigFileName}test"));
Microsoft.Build.CommandLine.UnitTests (2)
Microsoft.Build.Engine.OM.UnitTests (12)
Definition\Project_Tests.cs (6)
721project.GetItems("BuiltProjectOutputGroupKeyOutput").First().EvaluatedInclude.ShouldBe(Path.Combine(FileUtilities.TempFileDirectory, "obj", "i386").Substring(RootPrefixLength) + Path.DirectorySeparatorChar);
722projectInstance.GetItems("BuiltProjectOutputGroupKeyOutput").First().EvaluatedInclude.ShouldBe(Path.Combine(FileUtilities.TempFileDirectory, "obj", "i386").Substring(RootPrefixLength) + Path.DirectorySeparatorChar);
757project.GetItems("BuiltProjectOutputGroupKeyOutput").First().EvaluatedInclude.ShouldBe(Path.Combine(FileUtilities.TempFileDirectory, "obj", "i386").Substring(RootPrefixLength) + Path.DirectorySeparatorChar);
758projectInstance.GetItems("BuiltProjectOutputGroupKeyOutput").First().EvaluatedInclude.ShouldBe(Path.Combine(FileUtilities.TempFileDirectory, "obj", "i386").Substring(RootPrefixLength) + Path.DirectorySeparatorChar);
796project.GetItems("BuiltProjectOutputGroupKeyOutput").First().EvaluatedInclude.ShouldBe(Path.Combine(FileUtilities.TempFileDirectory /* remove c:\ */, "obj", "i386"));
797projectInstance.GetItems("BuiltProjectOutputGroupKeyOutput").First().EvaluatedInclude.ShouldBe(Path.Combine(FileUtilities.TempFileDirectory /* remove c:\ */, "obj", "i386"));
Microsoft.Build.Engine.UnitTests (62)
BuildEnvironmentHelper_Tests.cs (4)
358var msBuild64Exe = Path.Combine(env.BuildDirectory, "amd64", MSBuildExeName);
486Directory.CreateDirectory(Path.Combine(TempFolderRoot, "Common7", "IDE"));
528File.WriteAllText(Path.Combine(BuildDirectory, "amd64", msBuildExeName), string.Empty);
529File.WriteAllText(Path.Combine(BuildDirectory, "amd64", $"{MSBuildExePath}.config"), string.Empty);
Definition\ProjectEvaluationContext_Tests.cs (6)
565<i Include=`{Path.Combine("Glob", "**", "*.cs")}` />
584.Select(i => Path.Combine("Glob", "1", i))
647? Path.Combine("..", "..", "glob")
710<i Include=`{Path.Combine("{0}", "**", "*.cs")}`/>
715<i Include=`{Path.Combine("{0}", "**", "*.cs")}`/>
720.Select((p, i) => new ProjectSpecification(Path.Combine(testDirectory.Path, $"ProjectDirectory{i}", $"Project{i}.proj"), p));
Evaluation\Evaluator_Tests.cs (6)
160yield return new object[] { $@"Project=""{Path.Combine("$(VSToolsPath)", "nonexistentDirectory", "projectThatDoesNotExist.csproj")}"" Condition=""Exists('{Path.Combine("$(VSToolsPath)", "nonexistentDirectory", "projectThatDoesNotExist.csproj")}')""", true };
161yield return new object[] { $@"Project=""{Path.Combine("$(VSToolsPath)", "nonexistentDirectory", "projectThatDoesNotExist.csproj")}"" Condition=""'true'""", false };
162yield return new object[] { $@"Project=""{Path.Combine("$(VSToolsPath)", "nonexistentDirectory", "projectThatDoesNotExist.csproj")}""", false };
163yield return new object[] { $@"Project=""{Path.Combine("$(VSToolsPath)", "nonexistentDirectory", "*.*proj")}""", true };
2307Path.Combine(directory2, "..", "*.targets"), Path.Combine(
Evaluation\Expander_Tests.cs (9)
261Assert.Equal(Path.Combine(s_rootPathPrefix, "firstdirectory", "seconddirectory"), itemsTrue[0].EvaluatedInclude);
698Assert.Equal(Path.Combine(s_rootPathPrefix, "firstdirectory", "seconddirectory"), itemsTrue[5].EvaluatedInclude);
2516pg.Set(ProjectPropertyInstance.Create("ParentPath", Path.Combine(s_rootPathPrefix, "abc", "def")));
2540Assert.Equal(Path.Combine(s_rootPathPrefix, "foo", "file.txt"), result);
2685Assert.Equal(Path.Combine(s_rootPathPrefix, "foo", "file.txt"), result);
2802Assert.Equal(Path.Combine(s_rootPathPrefix, "foo", "file.txt"), result);
3465string fileWithPath = Path.Combine("foo", "bar", "file.txt");
3916pg.Set(ProjectPropertyInstance.Create("SomePath", Path.Combine(s_rootPathPrefix, "some", "path")));
4876var expectedAlphaGammaSquigglePath = Path.Combine("Alpha", "Gamma", ".squiggle");
Evaluation\SdkResultEvaluation_Tests.cs (5)
235string sdkPropsPath = Path.Combine(_testFolder, "Sdk", "Sdk.props");
323string sdk1PropsPath = Path.Combine(_testFolder, "Sdk1", "Sdk.props");
334string sdk2PropsPath = Path.Combine(_testFolder, "Sdk2", "Sdk.props");
415string sdkPropsPath = Path.Combine(_testFolder, "Sdk", "Sdk.props");
426string sdkTargetsPath = Path.Combine(_testFolder, "Sdk", "Sdk.targets");
FileMatcher_Tests.cs (7)
1002ValidateFileMatch(Path.Combine("..", "..", "*.*"), Path.Combine("..", "..", "File.txt"), false);
1006ValidateFileMatch(Path.Combine("..", "..", "*.*"), Path.Combine("..", "..", "File"), false);
1008ValidateNoFileMatch(Path.Combine("..", "..", "*.*"), Path.Combine(new[] { "..", "..", "dir1", "dir2", "File.txt" }), false);
1009ValidateNoFileMatch(Path.Combine("..", "..", "*.*"), Path.Combine(new[] { "..", "..", "dir1", "dir2", "File" }), false);
1020ValidateFileMatch(Path.Combine("**", "*.cs"), Path.Combine("dir1", "dir2", "file.cs"), true);
Microsoft.Build.Framework (1)
Microsoft.Build.Framework.UnitTests (11)
FileClassifier_Tests.cs (10)
35classifier.IsNonModifiable(Path.Combine(volume, "Test1", "File.ext")).ShouldBeTrue();
36classifier.IsNonModifiable(Path.Combine(volume, "Test2", "File.ext")).ShouldBeTrue();
37classifier.IsNonModifiable(Path.Combine(volume, "Test3", "File.ext")).ShouldBeFalse();
53classifier.IsNonModifiable(Path.Combine(volume, "Test1", "File.ext")).ShouldBeTrue();
54classifier.IsNonModifiable(Path.Combine(volume, "Test2", "File.ext")).ShouldBeTrue();
55classifier.IsNonModifiable(Path.Combine(volume, "Test3", "File.ext")).ShouldBeFalse();
68classifier.IsNonModifiable(Path.Combine(volume, "Test1", "File.ext")).ShouldBeTrue();
69classifier.IsNonModifiable(Path.Combine(volume, "test1", "File.ext")).ShouldBeFalse();
73classifier.IsNonModifiable(Path.Combine(volume, "Test1", "File.ext")).ShouldBeTrue();
74classifier.IsNonModifiable(Path.Combine(volume, "test1", "File.ext")).ShouldBeTrue();
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");
Microsoft.Build.Tasks.Core (8)
Microsoft.Build.Tasks.UnitTests (99)
AssemblyDependency\ResolveAssemblyReferenceTestFixture.cs (19)
198protected static readonly string s_myMissingAssemblyAbsPath = Path.Combine(s_rootPathPrefix, "MyProject", "MyMissingAssembly.dll");
239protected static readonly string s_regress454863_ADllPath = Path.Combine(s_rootPathPrefix, "Regress454863", "A.dll");
240protected static readonly string s_regress454863_BDllPath = Path.Combine(s_rootPathPrefix, "Regress454863", "B.dll");
261protected static readonly string s_netstandardLibraryDllPath = Path.Combine(s_rootPathPrefix, "NetStandard", "netstandardlibrary.dll");
262protected static readonly string s_netstandardDllPath = Path.Combine(s_rootPathPrefix, "NetStandard", "netstandard.dll");
264protected static readonly string s_portableDllPath = Path.Combine(s_rootPathPrefix, "SystemRuntime", "Portable.dll");
265protected static readonly string s_systemRuntimeDllPath = Path.Combine(s_rootPathPrefix, "SystemRuntime", "System.Runtime.dll");
267protected static readonly string s_dependsOnNuGet_ADllPath = Path.Combine(s_rootPathPrefix, "DependsOnNuget", "A.dll");
268protected static readonly string s_dependsOnNuGet_NDllPath = Path.Combine(s_rootPathPrefix, "DependsOnNuget", "N.dll");
269protected static readonly string s_dependsOnNuGet_NExePath = Path.Combine(s_rootPathPrefix, "DependsOnNuget", "N.exe");
270protected static readonly string s_dependsOnNuGet_NWinMdPath = Path.Combine(s_rootPathPrefix, "DependsOnNuget", "N.winmd");
388Path.Combine(s_myVersion20Path, "en", "System.Xml.resources.dll"),
389Path.Combine(s_myVersion20Path, "en", "System.Xml.resources.pdb"),
390Path.Combine(s_myVersion20Path, "en", "System.Xml.resources.config"),
391Path.Combine(s_myVersion20Path, "xx", "System.Xml.resources.dll"),
392Path.Combine(s_myVersion20Path, "en-GB", "System.Xml.resources.dll"),
393Path.Combine(s_myVersion20Path, "en-GB", "System.Xml.resources.pdb"),
394Path.Combine(s_myVersion20Path, "en-GB", "System.Xml.resources.config"),
402Path.Combine(s_myVersion20Path, "xx", "MyGacAssembly.resources.dll"),
ResolveSDKReference_Tests.cs (46)
463string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
578string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
633string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
691string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
746string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
801string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
856string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
913string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
968string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
1022string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
1492string testDirectory = Path.Combine(testDirectoryRoot, "BadTestSDK", "2.0") + Path.DirectorySeparatorChar;
1602string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
1708string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
1793string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
1891string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
1964string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
2033string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
2100string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
2174string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
2242string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
2313string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
2385string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
2454string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
2527string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
2592string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
2659string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
2723string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
2791string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "1.0") + Path.DirectorySeparatorChar;
2792string testDirectory2 = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
2793string testDirectory3 = Path.Combine(testDirectoryRoot, "GoodTestSDK", "3.0") + Path.DirectorySeparatorChar;
2889string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "1.0") + Path.DirectorySeparatorChar;
2890string testDirectory2 = Path.Combine(testDirectoryRoot, "GoodTestSDK1", "2.0") + Path.DirectorySeparatorChar;
2891string testDirectory3 = Path.Combine(testDirectoryRoot, "GoodTestSDK3", "3.0") + Path.DirectorySeparatorChar;
2987string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "1.0") + Path.DirectorySeparatorChar;
2988string testDirectory2 = Path.Combine(testDirectoryRoot, "GoodTestSDK2", "2.0") + Path.DirectorySeparatorChar;
2989string testDirectory3 = Path.Combine(testDirectoryRoot, "GoodTestSDK3", "3.0") + Path.DirectorySeparatorChar;
2990string testDirectory4 = Path.Combine(testDirectoryRoot, "GoodTestSDK3", "4.0") + Path.DirectorySeparatorChar;
3100string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "1.0") + Path.DirectorySeparatorChar;
3101string testDirectory2 = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
3102string testDirectory3 = Path.Combine(testDirectoryRoot, "GoodTestSDK", "3.0") + Path.DirectorySeparatorChar;
3206string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
3280string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
3357string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
3423string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
3501string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
3565string testDirectory = Path.Combine(testDirectoryRoot, "GoodTestSDK", "2.0") + Path.DirectorySeparatorChar;
Microsoft.Build.Utilities.Core (8)
Microsoft.Build.Utilities.UnitTests (49)
ToolLocationHelper_Tests.cs (48)
79string referenceDirectory = Path.Combine(tempDirectory, Path.Combine("References", "Foo", "Bar"));
215returnValue.ShouldBe(Path.Combine(sdkRootFolder, "UnionMetadata", "10.0.14944.0"));
232string sdkDirectory = Path.Combine(tempDirectory, "Foo", "Bar");
257string sdkDirectory = Path.Combine(tempDirectory, "Foo", "1.0");
282string sdkDirectory = Path.Combine(tempDirectory, "Foo", "1.0");
308string sdkDirectory = Path.Combine(tempDirectory, "Foo", "1.0");
404string nonVersionFolder = Path.Combine(testPath, ".UnknownFramework", "NotAVersion");
423string folder10 = Path.Combine(testPath, ".UnknownFramework", "v1.0");
424string folder20 = Path.Combine(testPath, ".UnknownFramework", "v2.0");
425string folder40 = Path.Combine(testPath, ".UnknownFramework", "v4.0");
1398string redist41Directory = Path.Combine(tempDirectory, "v4.1", "RedistList") + Path.DirectorySeparatorChar;
1400string redist40Directory = Path.Combine(tempDirectory, "v4.0", "RedistList") + Path.DirectorySeparatorChar;
1440string redist41Directory = Path.Combine(tempDirectory, "v4.1", "RedistList") + Path.DirectorySeparatorChar;
1470string redist41Directory = Path.Combine(tempDirectory, "v4.1", "RedistList") + Path.DirectorySeparatorChar;
1500string redist41Directory = Path.Combine(tempDirectory, "v4.1", "RedistList") + Path.DirectorySeparatorChar;
1529string redist40Directory = Path.Combine(tempDirectory, "v4.0", "RedistList") + Path.DirectorySeparatorChar;
1560string redist41Directory = Path.Combine(tempDirectory, "v4.1", "RedistList") + Path.DirectorySeparatorChar;
1596string redist41Directory = Path.Combine(tempDirectory, "v4.1", "RedistList") + Path.DirectorySeparatorChar;
1630string redist41Directory = Path.Combine(tempDirectory, "v4.1", "RedistList") + Path.DirectorySeparatorChar;
1673string framework41Directory = Path.Combine(tempDirectory, "MyFramework", "v4.1") + Path.DirectorySeparatorChar;
1677string framework40Directory = Path.Combine(tempDirectory, "MyFramework", "v4.0") + Path.DirectorySeparatorChar;
1681string framework39Directory = Path.Combine(tempDirectory, "MyFramework", "v3.9") + Path.DirectorySeparatorChar;
1738string framework40Directory = Path.Combine(tempDirectory, "MyFramework", "v4.0")
1795string framework41Directory = Path.Combine(tempDirectory, "MyFramework", "v4.1")
1800string framework40Directory = Path.Combine(tempDirectory, "MyFramework", "v4.0")
2690stdLibPaths[0].ShouldBe(Path.Combine(customFrameworkDir, frameworkName, frameworkVersionWithV) + Path.DirectorySeparatorChar, stdLibPaths[0]);
2727string asmPath = Path.Combine(rootDir, frameworkName, frameworkVersion);
3547string platformDirectory = Path.Combine(testDirectoryRoot, "MyPlatform", "8.0")
3616string platformDirectory = Path.Combine(testDirectoryRoot, "MyPlatform", "8.0")
3795targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3802targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3820targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "3.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3826targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3831targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3835targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "8.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3844targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "9.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
4064targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
4067targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
4070targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "3.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
4073targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
4076targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
4434Directory.CreateDirectory(Path.Combine(tempPath, "WindowsKits", "6.0"));
4435Directory.CreateDirectory(Path.Combine(tempPath, "MyPlatform", "5.0"));
4442Directory.CreateDirectory(Path.Combine(tempPath, "MyPlatform", "1.0"));
4443Directory.CreateDirectory(Path.Combine(tempPath, "MyPlatform", "8.0"));
4450Directory.CreateDirectory(Path.Combine(tempPath, "MyPlatform", "9.0"));
4521Directory.CreateDirectory(Path.Combine(tempPath, "Windows", "v3.0") + Path.DirectorySeparatorChar);
4525Path.Combine(tempPath, "Windows", "NotAVersion") + Path.DirectorySeparatorChar);
Microsoft.CodeAnalysis (4)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
Microsoft.CodeAnalysis.Features (3)
Microsoft.CodeAnalysis.Features.UnitTests (5)
Microsoft.CodeAnalysis.InteractiveHost (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (6)
Microsoft.CodeAnalysis.LanguageServer.UnitTests (2)
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Microsoft.CodeAnalysis.ResxSourceGenerator.UnitTests (2)
Microsoft.CodeAnalysis.Scripting (4)
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (6)
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
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);
Microsoft.Data.Analysis.Tests (2)
Microsoft.DotNet.Arcade.Sdk (1)
Microsoft.DotNet.Arcade.Sdk.Tests (3)
Microsoft.DotNet.Build.Manifest.Tests (1)
Microsoft.DotNet.Build.Tasks.Feed.Tests (1)
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)
Microsoft.DotNet.Build.Tasks.Packaging.Tests (2)
Microsoft.DotNet.Build.Tasks.Templating.Tests (1)
Microsoft.DotNet.Build.Tasks.VisualStudio (1)
Microsoft.DotNet.Build.Tasks.Workloads (3)
Microsoft.DotNet.Build.Tasks.Workloads.Tests (3)
Microsoft.DotNet.Helix.Sdk (1)
Microsoft.DotNet.Helix.Sdk.Tests (2)
Microsoft.DotNet.MacOsPkg.Core (1)
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)
Microsoft.DotNet.SignCheckLibrary (2)
Microsoft.DotNet.SignTool (7)
Microsoft.DotNet.SignTool.Tests (7)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Microsoft.DotNet.XliffTasks (2)
Microsoft.Extensions.AI.Evaluation.Reporting (2)
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (2)
Microsoft.Extensions.AI.Templates.Tests (2)
Microsoft.Extensions.ApiDescription.Client.Tests (35)
GetOpenApiReferenceMetadataTest.cs (11)
18var identity = Path.Combine("TestProjects", "files", "NSwag.json");
70var identity = Path.Combine("TestProjects", "files", "NSwag.json");
129var identity = Path.Combine("TestProjects", "files", "NSwag.json");
186var identity = Path.Combine("TestProjects", "files", "NSwag.json");
244var identity1 = Path.Combine("TestProjects", "files", "NSwag.json");
245var identity2 = Path.Combine("TestProjects", "files", "swashbuckle.json");
290var identity = Path.Combine("TestProjects", "files", "NSwag.json");
335var identity = Path.Combine("TestProjects", "files", "NSwag.json");
400var identity = Path.Combine("TestProjects", "files", "NSwag.json");
457var identity12 = Path.Combine("TestProjects", "files", "NSwag.json");
458var identity3 = Path.Combine("TestProjects", "files", "swashbuckle.json");
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)
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (2)
Microsoft.Extensions.DependencyModel (1)
Microsoft.Extensions.FileProviders.Embedded.Tests (2)
Microsoft.Extensions.Logging.AzureAppServices (2)
Microsoft.Extensions.SecretManager.Tools.Tests (5)
Microsoft.ML.AutoML (1)
Microsoft.ML.AutoML.Tests (1)
Microsoft.ML.Core (2)
Microsoft.ML.Core.Tests (3)
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)
Microsoft.ML.OnnxTransformerTest (9)
Microsoft.ML.PerformanceTests (4)
Microsoft.ML.Samples (4)
Microsoft.ML.Samples.GPU (4)
Microsoft.ML.SamplesUtils (2)
Microsoft.ML.TensorFlow (1)
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)
Microsoft.ML.TestFrameworkCommon (3)
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");
Microsoft.ML.Vision (2)
Microsoft.VisualStudio.LanguageServices (4)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (1)
Microsoft.VisualStudio.LanguageServices.UnitTests (24)
ProjectSystemShim\VisualStudioProjectTests\AnalyzerReferenceTests.vb (24)
109Path.Combine(TempRoot.Root, "RazorVsix", "Microsoft.CodeAnalysis.Razor.Compiler.SourceGenerators.dll"),
110Path.Combine(TempRoot.Root, "RazorVsix", "VsixDependency1.dll"),
111Path.Combine(TempRoot.Root, "RazorVsix", "VsixDependency2.dll")
136project.AddAnalyzerReference(Path.Combine(TempRoot.Root, "Some other directory", "Microsoft.CodeAnalysis.Razor.Compiler.SourceGenerators.dll"))
137project.AddAnalyzerReference(Path.Combine(TempRoot.Root, "Dir", "File.dll"))
141Path.Combine(TempRoot.Root, "RazorVsix", "Microsoft.CodeAnalysis.Razor.Compiler.SourceGenerators.dll"),
142Path.Combine(TempRoot.Root, "RazorVsix", "VsixDependency1.dll"),
143Path.Combine(TempRoot.Root, "RazorVsix", "VsixDependency2.dll"),
144Path.Combine(TempRoot.Root, "Some other directory", "Microsoft.CodeAnalysis.Razor.Compiler.SourceGenerators.dll"),
145Path.Combine(TempRoot.Root, "Dir", "File.dll")
155Path.Combine(TempRoot.Root, "RazorVsix", "Microsoft.CodeAnalysis.Razor.Compiler.SourceGenerators.dll"),
156Path.Combine(TempRoot.Root, "RazorVsix", "VsixDependency1.dll"),
157Path.Combine(TempRoot.Root, "RazorVsix", "VsixDependency2.dll"),
158Path.Combine(TempRoot.Root, "Some other directory", "Microsoft.CodeAnalysis.Razor.Compiler.SourceGenerators.dll"),
159Path.Combine(TempRoot.Root, "Dir", "File.dll")
165project.RemoveAnalyzerReference(Path.Combine(TempRoot.Root, "Some other directory", "Microsoft.CodeAnalysis.Razor.Compiler.SourceGenerators.dll"))
169Path.Combine(TempRoot.Root, "Dir", "File.dll")
179Path.Combine(TempRoot.Root, "Dir", "File.dll")
232project.AddAnalyzerReference(Path.Combine(TempRoot.Root, "Dir", "File.dll"))
237Path.Combine(TempRoot.Root, "Dir", "File.dll")
273project.AddAnalyzerReference(Path.Combine(TempRoot.Root, "Dir", "File.dll"))
278Path.Combine(TempRoot.Root, "Dir", "File.dll")
300project.AddAnalyzerReference(Path.Combine(TempRoot.Root, "Dir", "File.dll"))
307Path.Combine(TempRoot.Root, "Dir", "File.dll")
MSBuild (3)
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);
Roslyn.Test.Performance.Utilities (3)
RunTests (1)
SignalR.Client.FunctionalTestApp (2)
Sockets.BindTests (1)
Sockets.FunctionalTests (1)
System.Console (2)
System.IO.IsolatedStorage (1)
System.IO.Packaging (1)
System.Net.NetworkInformation (2)
System.Private.CoreLib (6)
System.Security.Cryptography (2)
Templates.Blazor.Tests (2)
Templates.Blazor.WebAssembly.Auth.Tests (3)
Templates.Blazor.WebAssembly.Tests (3)
Templates.Mvc.Tests (5)
Templates.Tests (3)
TestTasks (1)
VBCSCompiler (1)
xunit.console (2)