I have some unit tests that are passing on developer machine but failing on TFS build machine. These tests are failing for different reasons. I have very limited access to build machine. But I could look into the drop folder and see what DLL files were deployed etc.
Also I see that pdb files were deployed on the build machine.
Is there any way to debug and step through the code on why its only failing on build machine?
Is there any way to debug and step through the code on why its only failing on build machine?
Yes you can attach to the process on the build machine... But you would have to be logged into the Build machine and have an instance of VS running on the server and have Admin rights to attach to the thread...
You could also do it if the admins were willing to open up the server to remote debugging. But since that opens up more of a security risk than just giving you access to the server it is unlikely that this option is viable either.
So for you no. You will need to look at what the failures are and figure out what would cause that to happen. Then you can try to fix that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With