1 write to _contentDirectory
Microsoft.AspNetCore.TestHost.Tests (1)
UseSolutionRelativeContentRootTests.cs (1)
19_contentDirectory = Path.Combine(_tempDirectory, "src");
9 references to _contentDirectory
Microsoft.AspNetCore.TestHost.Tests (9)
UseSolutionRelativeContentRootTests.cs (9)
20Directory.CreateDirectory(_contentDirectory); 38Assert.Equal(_contentDirectory, environment.ContentRootPath); 63Assert.Equal(_contentDirectory, environment.ContentRootPath); 92Assert.Equal(_contentDirectory, environment.ContentRootPath); 98var expectedPath = Path.Combine(_contentDirectory, "sub"); 102var slnxFile = Path.Combine(_contentDirectory, "TestApp.slnx"); 116builder.UseSolutionRelativeContentRoot("sub", _contentDirectory, ["*.sln", "*.slnx"]); 147Assert.Equal(_contentDirectory, environment.ContentRootPath); 188Assert.Equal(_contentDirectory, environment.ContentRootPath);