I'm setting up a CI/CD VM for building and testing .NET Framework applications.
So, I'm installing the Microsoft.VisualStudio.Workload.ManagedDesktopBuildTools
, Microsoft.VisualStudio.Workload.WebBuildTools
and Microsoft.VisualStudio.Workload.TestAgent
workloads, but I still cannot find MSTest.exe
on my VM.
Which workload do I need to add to be able to perform automated component tests using the command line?
We investigated further and found that the Microsoft.VisualStudio.Component.TestTools.BuildTools
workload is required to install VSTest.Console.exe
along with Visual Studio Build Tools 2022.