Skip to content

Very slow build - can't build project #54293

@mokshinpv

Description

@mokshinpv

Version Used:
8.0.200
Visual Studio 2022, 17.9.0

Steps to Reproduce:

After upgrading to .NET 8 I can't build my project.
Build doesn't finish (maybe infinite loop).
This project contains classes which are generated by Antlr4.
These classes are very large so maybe this causes problems.

I created small project with same problem:
academitslearn.zip

Here build finishes but it takes about 10 seconds.
In previous versions build was immediate.

Expected Behavior:

Build finishes and build is fast.

Actual Behavior:

Build not finishes for real project.
Build is very slow for small project.

Metadata

Metadata

Assignees

Labels

area-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions