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