Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 5495 [details]
Reported on behalf of a user.
## Steps to reproduce
Run the attached test project on device.
Create a new project, add 6 or more arguments under "Project Options -> Run -> General -> Parameters," and run the project on device.
All of the expected `app-arg` options are included when launching the app:
> Launching TestCommandLineArgs.app -debugtrack -monodevelop-port 10000 -connection-mode usb -app-arg=0value -app-arg=1value -app-arg=2value -app-arg=3value -app-arg=4value -app-arg=5value -app-arg=6value -app-arg=7value
... but the Main() function only sees the first 5 command line arguments.
> arg0: 0value
> arg1: 1value
> arg2: 2value
> arg3: 3value
> arg4: 4value
## Version information
Tested on iPhone 4, iOS 7.0.3
OS X 10.8.5
Right now we've hardcoded a limit of 5 arguments.
I'll see if we can fix this somehow.
Great, thanks. Any idea when we'd be likely to see this change make its way to the Stable or Alpha channels?
Current guess would be about a month or so, but nothing is firm yet.
This fix is planned to be released with Xamarin.iOS 7.0.6, which should hit the beta channel before December 23rd.
I have verified issue, following are the verified steps:
1. Downloaded sample application.
2. Added 7 command line arguments.
3. Debug application and run on simulator.
4. All arguments values are printed on "Application Output,
Refer screenshot: http://screencast.com/t/DQXRjr0J
X.S 4.2.2 (build 2)