97ef51bf8b
The main cause of the warning: "warning MSB6002: The command-line for the 'MTouch' task is too long" was the number of references that can be passed to `mtouch`. Now all the arguments are written in a response file which in turn is passed to `mtouch`. - Fixes bug #56501: MSB6002 command-line for MTouch task is too long, > 32000 characters (https://bugzilla.xamarin.com/show_bug.cgi?id=56501) - The response file is created in the device specific folder, as `response-file.rsp`. It is re-created every time. - Added an msbuild test to ensure the response file is created by `GenerateCommandLineCommands` and that it includes all the references. - Introduce `AddLine` and `AddQuotedLine` which we use to populate the response file (and go to the next line). - Move to C# 7 syntax for string replacement. - Update all tests in `MTouchTaskTests` to use the response file since the arguments are no longer passed directly to `mtouch`. - Update MT0018's documentation for response files. |
||
---|---|---|
.. | ||
website | ||
bindas.md | ||
code-sharing-with-user-frameworks.md |