示例#1
0
        public virtual void Setup()
        {
            var mtouchPaths = SetupProjectPaths("MySingleView");

            MonoTouchProjectBinPath    = mtouchPaths ["project_binpath"];
            MonoTouchProjectObjPath    = mtouchPaths ["project_objpath"];
            MonoTouchProjectCSProjPath = mtouchPaths ["project_csprojpath"];
            MonoTouchProjectPath       = mtouchPaths ["project_path"];

            AppBundlePath = mtouchPaths ["app_bundlepath"];

            var libraryPaths = SetupProjectPaths("MyLibrary", "../MySingleView/", false);

            LibraryProjectBinPath    = libraryPaths ["project_binpath"];
            LibraryProjectObjPath    = libraryPaths ["project_objpath"];
            LibraryProjectPath       = libraryPaths ["project_path"];
            LibraryProjectCSProjPath = libraryPaths ["project_csprojpath"];

            SetupEngine();

            MonoTouchProject         = SetupProject(Engine, MonoTouchProjectCSProjPath);
            MonoTouchProjectInstance = MonoTouchProject.CreateProjectInstance();
            LibraryProject           = SetupProject(Engine, LibraryProjectCSProjPath);
            LibraryProjectInstance   = LibraryProject.CreateProjectInstance();

            CleanUp();
        }
示例#2
0
        public virtual void Setup()
        {
            var mtouchPaths = SetupProjectPaths("MySingleView");

            MonoTouchProjectBinPath    = mtouchPaths.ProjectBinPath;
            MonoTouchProjectObjPath    = mtouchPaths.ProjectObjPath;
            MonoTouchProjectCSProjPath = mtouchPaths.ProjectCSProjPath;
            MonoTouchProjectPath       = mtouchPaths.ProjectPath;

            AppBundlePath = mtouchPaths.AppBundlePath;

            var libraryPaths = SetupProjectPaths("MyLibrary", "../MySingleView/", false);

            LibraryProjectBinPath    = libraryPaths.ProjectBinPath;
            LibraryProjectObjPath    = libraryPaths.ProjectObjPath;
            LibraryProjectPath       = libraryPaths.ProjectPath;
            LibraryProjectCSProjPath = libraryPaths.ProjectCSProjPath;

            SetupEngine();

            MonoTouchProject         = SetupProject(Engine, MonoTouchProjectCSProjPath);
            MonoTouchProjectInstance = MonoTouchProject.CreateProjectInstance();
            LibraryProject           = SetupProject(Engine, LibraryProjectCSProjPath);
            LibraryProjectInstance   = LibraryProject.CreateProjectInstance();

            CleanUp();
        }
        public void BuildLibrary_NoInterfaceDefinitions()
        {
            LibraryProject.RemoveItems(LibraryProject.GetItems("InterfaceDefinition"));
            LibraryProjectInstance = LibraryProject.CreateProjectInstance();

            BuildLibraryCore(ExpectedLibraryEmbeddedResources.Where(s => !s.Contains("storyboardc")).ToArray());
        }