diff --git a/src/Razor/perf/Microsoft.AspNetCore.Razor.Performance/ProjectSystem/ProjectSnapshotManagerBenchmarkBase.cs b/src/Razor/perf/Microsoft.AspNetCore.Razor.Performance/ProjectSystem/ProjectSnapshotManagerBenchmarkBase.cs index 580ddd1572..aab2fc4527 100644 --- a/src/Razor/perf/Microsoft.AspNetCore.Razor.Performance/ProjectSystem/ProjectSnapshotManagerBenchmarkBase.cs +++ b/src/Razor/perf/Microsoft.AspNetCore.Razor.Performance/ProjectSystem/ProjectSnapshotManagerBenchmarkBase.cs @@ -45,7 +45,7 @@ namespace Microsoft.AspNetCore.Razor.Performance for (var i = 0; i < Documents.Length; i++) { var filePath = Path.Combine(projectRoot, "Views", "Home", $"View00{i % 4}.cshtml"); - Documents[i] = new HostDocument(filePath, $"/Views/Home/View00{i}.cshtml"); + Documents[i] = new HostDocument(filePath, $"/Views/Home/View00{i}.cshtml", FileKinds.Legacy); } var tagHelpers = Path.Combine(root.FullName, "benchmarks", "Microsoft.AspNetCore.Razor.Performance", "taghelpers.json");