I have a project that runs, builds, and passes all unit tests locally, but whose unit tests fail on the build server. I am using .NET 4.5, TFS, and VS 2012. Ideally I would like to step through the code that is executing on the server so I can gate on failing unit tests again.
Here's one way,
Debug directly on the build server
And another way if setting up networking for the VS Remote Debugger isn't a huge pain,
Remote debug the tests on the build server
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.