8 references to UseSolutionRelativeContentRoot
Microsoft.AspNetCore.TestHost (3)
WebHostBuilderExtensions.cs (3)
133return builder.UseSolutionRelativeContentRoot(solutionRelativePath, AppContext.BaseDirectory, _defaultSolutionNames); 148return builder.UseSolutionRelativeContentRoot(solutionRelativePath, AppContext.BaseDirectory, [solutionName]); 165return builder.UseSolutionRelativeContentRoot(solutionRelativePath, applicationBasePath, [solutionName]);
Microsoft.AspNetCore.TestHost.Tests (5)
UseSolutionRelativeContentRootTests.cs (5)
33builder.UseSolutionRelativeContentRoot("src", applicationBasePath: _tempDirectory); 58builder.UseSolutionRelativeContentRoot("src", applicationBasePath: _tempDirectory); 116builder.UseSolutionRelativeContentRoot("sub", _contentDirectory, ["*.sln", "*.slnx"]); 142builder.UseSolutionRelativeContentRoot("src", applicationBasePath: _tempDirectory, solutionNames: ["*.sln", "*.slnx"]); 158builder.UseSolutionRelativeContentRoot("src", applicationBasePath: _tempDirectory));