Bug 2137 - Provide ANDROID defines for class libraries
Summary: Provide ANDROID defines for class libraries
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Tools and Addins ()
Version: 2.0
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-11-21 17:24 UTC by Jonathan Pobst
Modified: 2011-12-07 22:27 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:
Status:
RESOLVED FIXED

Description Jonathan Pobst 2011-11-21 17:24:48 UTC
From https://bugzilla.novell.com/show_bug.cgi?id=687082.

---

Mono for Android applications provide compilation symbols, but it looks like
that doesn't happen on the class library side. Is it possible to provide them
there too? This would make it easier to write cross-platform libraries.

Reproducible: Always

Steps to Reproduce:
1. Create a Mono for Android class library
2. Build
Actual Results:  
No Android compilation symbols are provided

Expected Results:  
Android compilation symbols should be provided

---

Oh, I didn't mean debugging symbols, sorry for the confusion. I'm referring to
conditional build symbols (Project Properties -> Build -> Conditional Build
Symbols). For apps there are a bunch depending on the version, like
__ANDROID__, but I don't see any added for class libraries.
Comment 1 Jonathan Pobst 2011-12-07 22:27:27 UTC
Added for the next release.

Thanks for the suggestion!