8 references to UseSolutionRelativeContentRoot
Microsoft.AspNetCore.TestHost (3)
WebHostBuilderExtensions.cs (3)
132return builder.UseSolutionRelativeContentRoot(solutionRelativePath, AppContext.BaseDirectory, _defaultSolutionNames); 147return builder.UseSolutionRelativeContentRoot(solutionRelativePath, AppContext.BaseDirectory, [solutionName]); 164return 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));