diff options
author | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2014-05-28 04:09:40 +0400 |
---|---|---|
committer | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2014-05-28 04:09:40 +0400 |
commit | 521f5ef6a907d2be2e09a5e7574b7a060d3a2193 (patch) | |
tree | 9d9fb5ea8641537bc40d92fce0f4c6fa03f46e06 /Testing/MacTestRunner | |
parent | ec50166d6de1d0e5ee6fb3d1bdc5dd8c90715dc8 (diff) |
[Mac] Port to Xamarin.Mac 2.0
Diffstat (limited to 'Testing/MacTestRunner')
-rw-r--r-- | Testing/MacTestRunner/Main.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Testing/MacTestRunner/Main.cs b/Testing/MacTestRunner/Main.cs index 8292df20..f7fbdf03 100644 --- a/Testing/MacTestRunner/Main.cs +++ b/Testing/MacTestRunner/Main.cs @@ -1,8 +1,5 @@ -using System; using Xwt; -using System.IO; using System.Collections.Generic; -using System.Linq; namespace MacTest { @@ -10,7 +7,10 @@ namespace MacTest { static void Main (string [] args) { - Xwt.Application.Initialize (Xwt.ToolkitType.Cocoa); + //FIXME: remove this once mmp summorts xammac + ObjCRuntime.Dlfcn.dlopen ("/Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/libxammac.dylib", 0); + + Application.Initialize (ToolkitType.Cocoa); ReferenceImageManager.Init ("MacTestRunner"); var list = new List<string> (args); |