1
Vote

GenerateResource - Command-lines longer than 32000 characters

description

Hi,
 
I have fallowing porblem...
 
After converting web project and add required imports in csproj file i have fallowing error message durning resources compilation..
 
C:\Program Files\MSBuild\MSBee\MSBuildExtras.FX1_1.Common.targets : warning MSB6002: The command-line for the "GenerateResource" task is too long. Command-lines longer than 32000 characters are likely to fail. Try reducing the length of the command-line by breaking down the call to "GenerateResource" into multiple calls with fewer parameters per call.
 
Project contains lots of pages and all of them have own resx file so this is why this error ocured. If it is possible the task schoudl check the command line and divide it to two or more comand calls to ommit this problem.
 
Actualy i remove the resx file to check that it will be compile and working so its not a reeal issue right know but it schoudl work wor larga naumber of files and not depend upon file numbers.
 
I wonder how the csc.exe task will bechawe in this situation...i will check it after remuwing resx files form project...and if it will have teh same issue i will let know.

comments