Add MonoTouch support to PlatformAttribute

Bug #1037144 reported by Charlie Poole
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NUnit Framework
Fix Released
Medium
Charlie Poole
NUnitLite
Fix Released
Medium
Charlie Poole

Bug Description

Both[Platform("MonoTouch")) or [Platform(Exclude="MonoTouch")] should work properly.

Here's the code supplied by Sebastien to detect it:

   Type.GetType ("MonoTouch.UIKit.UIApplicationDelegate, monotouch") != null

Note that Type.GetType("Mono.Runtime") may be null, since the type can be removed by the linker.

It would also be great if we could add detection of the actual device!

Charlie

Changed in nunitlite:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Charlie Poole (charlie.poole)
milestone: none → 0.8
Changed in nunitlite:
status: Triaged → Fix Committed
Changed in nunit-3.0:
status: New → Triaged
importance: Undecided → Medium
Changed in nunitlite:
status: Fix Committed → Fix Released
Changed in nunit-3.0:
milestone: none → 2.9.6
Changed in nunit-3.0:
assignee: nobody → Charlie Poole (charlie.poole)
status: Triaged → Fix Committed
Changed in nunit-3.0:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.