You may see the 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,” under the following circumstances:
- Opening an assembly with .NET Reflector,
- Exporting source code for an assembly using an add-in such as FileDisassembler, or FileGenerator.
This is not a problem with .NET Reflector, or any of its add-ins, but is rather a limitation of the Windows operating system:
The solution is to either move the assembly you’re trying to open into a directory with a shorter path-i.e., that is less deeply nested in the directory hierarchy-or to export source code to a directory with a shorter path.
In case you’re interested, the pros and cons of the 260 character path limit on Windows are discussed in these posts: