The RazorProject implementation used by MVC at runtime has a constructor that takes an IFileProvider (used by tests). This causes ambiguities when a user registers an IFileProvider in DI. Cleaning up tests to use a mock instead of the file provider directly |
||
|---|---|---|
| .. | ||
| ApplicationModels | ||
| DependencyInjection | ||
| Infrastructure | ||
| Internal | ||
| Microsoft.AspNetCore.Mvc.RazorPages.Test.csproj | ||
| PageModelTest.cs | ||
| PageTest.cs | ||
| TestRazorProject.cs | ||