Exemple #1
0
        public override void Setup()
        {
            base.Setup();

            Task         = CreateTask <CustomMTouchTask> ();
            Task.ToolExe = "/path/to/mtouch";

            Task.AppBundleDir           = AppBundlePath;
            Task.AppManifest            = new TaskItem(Path.Combine(MonoTouchProjectPath, "Info.plist"));
            Task.IntermediateOutputPath = Path.Combine("obj", "mtouch-cache");
            Task.MainAssembly           = new TaskItem("Main.exe");
            Task.References             = new [] { new TaskItem("a.dll"), new TaskItem("b.dll"), new TaskItem("c.dll") };
            Task.SdkRoot     = "/path/to/sdkroot";
            Task.SdkVersion  = "6.1";
            Task.SymbolsList = Path.Combine(Path.GetTempPath(), "mtouch-symbol-list");
            Task.TargetFrameworkIdentifier = "Xamarin.iOS";
        }
Exemple #2
0
        public override void Setup()
        {
            base.Setup();

            Task         = CreateTask <CustomMTouchTask> ();
            Task.ToolExe = "/path/to/mtouch";

            Task.AppBundleDir           = AppBundlePath;
            Task.AppManifest            = new TaskItem(Path.Combine(MonoTouchProjectPath, "Info.plist"));
            Task.CompiledEntitlements   = Path.Combine(Path.GetDirectoryName(GetType().Assembly.Location), "Resources", "Entitlements.plist");
            Task.IntermediateOutputPath = Path.Combine("obj", "mtouch-cache");
            Task.MainAssembly           = new TaskItem("Main.exe");
            Task.References             = new [] { new TaskItem("a.dll"), new TaskItem("b with spaces.dll"), new TaskItem("c\"quoted\".dll") };
            Task.ResponseFilePath       = Path.Combine(Path.GetTempPath(), "response-file.rsp");
            Task.SdkRoot                = "/path/to/sdkroot";
            Task.SdkVersion             = "6.1";
            Task.SymbolsList            = Path.Combine(Path.GetTempPath(), "mtouch-symbol-list");
            Task.TargetFrameworkMoniker = "Xamarin.iOS,v1.0";
        }
Exemple #3
0
        public override void Setup()
        {
            base.Setup ();

            Task = CreateTask<CustomMTouchTask> ();
            Task.ToolExe = "/path/to/mtouch";

            Task.AppBundleDir = AppBundlePath;
            Task.AppManifest = new TaskItem (Path.Combine (MonoTouchProjectPath, "Info.plist"));
            Task.IntermediateOutputPath = Path.Combine ("obj", "mtouch-cache");
            Task.MainAssembly = new TaskItem ("Main.exe");
            Task.References = new [] { new TaskItem ("a.dll"), new TaskItem ("b.dll"), new TaskItem ("c.dll") };
            Task.SdkRoot = "/path/to/sdkroot";
            Task.SdkVersion = "6.1";
            Task.SymbolsList = Path.Combine (Path.GetTempPath (), "mtouch-symbol-list");
            Task.TargetFrameworkIdentifier = "Xamarin.iOS";
        }