Bug 3098 - MonoTouch library projects should have a MinOSVersion value
Summary: MonoTouch library projects should have a MinOSVersion value
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll (show other bugs)
Version: master
Hardware: PC Mac OS
: Low enhancement
Target Milestone: Future Cycle (TBD)
Assignee: Bugzilla
Depends on:
Reported: 2012-01-26 17:42 UTC by Mikayla Hutchinson [MSFT]
Modified: 2017-01-09 12:31 UTC (History)
3 users (show)

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


Description Mikayla Hutchinson [MSFT] 2012-01-26 17:42:26 UTC
MonoTouch library projects should have a MinOSVersion value. This would fix a couple of problems:

a) MonoDevelop could pass this value to ibtool when compiling nibs into the dll (via IBC_MINIMUM_COMPATIBILITY_VERSION), preventing a crash when running on older OSes.

b) MonoDevelop could embed the value in an assembly attribute in the dll, then when building an exe referencing that dll MD could verify that the executable's MinOSVersion value was no older than the dll's MinOSVersion value. This would be especially useful with third party dlls and binding dlls.
Comment 1 Rolf Bjarne Kvinge [MSFT] 2016-02-08 17:30:07 UTC
Additional attributes that would be useful:

* Min version of Xamarin.iOS (useful for binding projects, which may require a certain version of Xamarin.iOS to work properly).
* Build version of Xamarin.iOS.

Note You need to log in before you can comment on or make changes to this bug.