Пример #1
0
        /// <summary>
        /// Initialize core.
        /// </summary>
        protected void init()
        {
#if DEBUG
            Log.Warn("Used [Debug version]");
#else
            if (vsCE.Version.branchName.ToLower() != "releases")
            {
                Log.Warn("Used [Unofficial release]");
            }
#endif

            attachCommandEvents();

            this.Bootloader = new Bootloader(Environment, uvariable);
            this.Bootloader.register();

            Action = new Actions.Connection(
                new Actions.Command(Environment,
                                    new Script(Bootloader),
                                    new MSBuild.Parser(Environment, uvariable))
                );

            Action.Cmd.MSBuild.initPropByDefault();
        }
Пример #2
0
        /// <summary>
        /// Initialize core.
        /// </summary>
        protected void init()
        {

#if DEBUG
            Log.Warn("Used [Debug version]");
#else
            if(vsCE.Version.branchName.ToLower() != "releases") {
                Log.Warn("Used [Unofficial release]");
            }
#endif

            attachCommandEvents();

            this.Bootloader = new Bootloader(Environment, uvariable);
            this.Bootloader.register();

            Action = new Actions.Connection(
                            new Actions.Command(Environment,
                                         new Script(Bootloader),
                                         new MSBuild.Parser(Environment, uvariable))
            );

            Action.Cmd.MSBuild.initPropByDefault();
        }