Visual Studio unknown build error. The fully qualified name must be less than 260 characters

build, visual-studio-2010

Solution

This is a well-known restriction in the Windows win32 api. The directory in which you stored your project is nested too deep. The full path name of a file cannot contain more than 259 characters. Beyond this, lots of C code that uses MAX_PATH starts failing due to buffer overflows.

Move your solution to another directory, one that's closer to the root.

Problem

I'm having trouble while building my WPF solution. Everytime I try to build it, I get this error message: Unknown build error, '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.' Someone can help me? I've already verified all the fields and their extension paths are ok. Can this be a problem with the TortoiseSVN or something like this? I recently added a folder to my solution, can be something with this?

Original source