Vstest says, “Path too long”? I fix.

A weird thing started happening on my TFS build server recently. When it came time to run the unit tests, the build would fail with:

The specified path, file name, or both are too long. The    fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

For reference, here’s the standard testing step that was failing.. Note the “Test Assembly” parameter.. Nothing out of the ordinary there.

So I dug in..Read More »Vstest says, “Path too long”? I fix.