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.
After upgrading to :
Version 4.0.10 (build 7)
Installation UUID: d615486e-971e-4e15-8b00-e936d270c4ae
Mono 3.2.0 ((no/7c7fcc7)
Package version: 302000000
Apple Developer Tools
Xcode 4.6.2 (2067.2)
Version: 22.214.171.124 (Business Edition)
Build date: 2013-18-07 21:36:03-0400
when I build for iOS Device I get this error:
Error CS1902: Invalid debug option `all'. Valid options are `full' or `pdbonly' (CS1902)
When I build to the Simulator, I get a successfull build
Can you attach your project file (only the .csproj) to this bug?
Fixed my issue!! I edited my project file and replaced : <DebugType>all</DebugType>, with this <DebugType>full</DebugType>
Thanks for your quick response
After upgrading to Xamarin Studio
Version 4.0.10 (build 7) this morning this bug reappeared.
This time I had to change the following in my project file:
You can change the status of this to Fixed
FWIW there's UI for that option: Project Options -> Build -> Compiler -> Debug Information
Hi , I am confused, there are only three options in the drop down for the UI,
Not sure where "All" came into it after the upgrade?
Xamarin Studio only recently added support for passing the DebugType property to the compiler, so the invalid "all" value may have been in your project file a for a long time.
The <additionalargs>-debug:all</additionalargs> is stranger, I know of no way that XS would set that, so perhaps it was set manually some time ago? My guess would be that the C# compiler in the latest version of Mono (not XS) now performs stricter checking of arguments, and this value could also have been there for a long time.