ASP.NET: Roslyn slow on page changes

后端 未结 2 1378
南方客
南方客 2021-02-20 04:53

i have an VB.NET ASP.NET (4.6.1) MVC Application which is build with the new Roslyn Compilers.

Everytime i change a (vbhtml) File and reload the page it takes approx 9 s

2条回答
  •  滥情空心
    2021-02-20 05:37

    FYI, I've been working with Microsoft on a solution to this, and it as not as simple as NGENing the assemblies. There are two issues they are working on to address it, one of them is in the Roslyn compiler itself. You can track that bug here: https://github.com/dotnet/roslyn/issues/10413. If the other bug comes up on a public tracker, I will be sure to link to it.

提交回复
热议问题