Welcome to Microsoft Q&A!
According to Compare Visual Studio 2019 Editions, only the Enterprise Edition supports Microsoft Fakes (Unit Test Isolation).
You want to run "Unit Test with Fakes" on build server without installing Visual studio, After searching, my understanding is that you cannot run Unit Test with Fakes on a machine without Visual Studio installed
You can refer to this thread.
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