Uh oh!
There was an error while loading. Please reload this page.
Trim quotes from files passed on command line. - #1409
Conversation
smoothdeveloper
commented
Aug 6, 2016
@KevinRansom#838 (comment) I tried some time back to introduce response files in msbuild task but didn't really succeed, has this been done in master? I'd like to test if that solves the issue. Thanks! |
KevinRansom
commented
Aug 6, 2016
No, this is for me in development. Often when investigating a single build issue, just having the entire input to the failing command is simplest. I did read the thread this morning about inducing the fsharp build task to use a response file because of the size of the command. I wasn't aware that there was a limit on the command size, especially since some of our command lines are monstrously huge. I wouldn't have thought it was especially tricky to make the fsharp buildtask do the right thing. I could look at it if you would like. Kevin |
smoothdeveloper
commented
Aug 7, 2016
@KevinRansom so far I tried this minor change but remember I had trouble getting the compiler to compile after making the change: I'd appreciate for sure if you could have a look and I'll be happy to look at #838 again to check if that issue is solved with usage of response file. |
dsyme
commented
Aug 8, 2016
Re |
Recently I have been using response files, I noticed that when msbuild generates command lines it puts quotes around filenames. So converting msbuild generated command lines required removing the quotes from the references in the response file.
The compiler errors looked similar to this:
This PR trims quotes and leading whitespace from input filenames.
Check it out
Kevin