I have Xamarin version 4.2.2 build 2. I create MAC project and I want to pass arguments on [Project Options] dialog. I try with this way: 1. Open [Project Options] dialog 2. Select Run > General 3. On Parameters, put arguments string, ex: "/s" 4. Class MainClass with this code: class MainClass { static void Main (string[] args) { // Get arguments here } }
- Run app by debug
Result: args can not return "/s", it return value: "-psn_0_688296"
So that, I have some question: 1. Show to set argument on MAC xamarin project 2. How to get it in code when runnning
Can you help me?
Many thanks Khoa Nguyen