question

RogerMontgomery-0806 avatar image
0 Votes"
RogerMontgomery-0806 asked ·

Unit Test Discovery Crawls

Situation: My solution consists of an Angular/Typescript web site, ASP.Net Core middle layer, some support library projects, and T-SQL database layer. The Angular website project is NOT included in the build. It is just there sharing GIT space. Problem: Whenever building the solution, Visual Studio brings the system to a crawl. Why? Because detection of Unit Tests is searching the Angular project even though it should be ignored. Angular projects have 1000's of files, none of them important to VS Unit Tests. Resolution: Visual Studio should NOT search projects that are NOT included in the build when searching for Unit Tests. Information: By removing the Angular project, and simply managing it with VS Code, Visual Studio behaves responsively. This problem occurs when using either MS Tests or NUnit. The fix should be simple because the solution properties can be examined by the Visual Studio team and skip those project folders that are not part of the build.

vs-testing
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DylanZhu-MSFT avatar image
0 Votes"
DylanZhu-MSFT answered ·

Hi RogerMontgomery,

We suggest you can report it to developer community: https://developercommunity.visualstudio.com/report?space=8&entry=problem

Best Regards,
Dylan


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.