MSB3455: ResGen.exe may not run because the command line is {0} characters long, which exceeds the maximum length of the ...

MSB3455: ResGen.exe may not run because the command line is {0} characters long, which exceeds the maximum length of the command. To fix this problem, please either (1) remove unnecessary assembly references, or (2) make the paths to those references shorter.