version: getBuildVersion()

in build/gulpfile.js [285:351]


            version: getBuildVersion(),
            loadingGif: paths.assets + "/orbInsidersInstall.gif",
            setupIcon: paths.assets + "/orb_insiders.ico",
            noMsi: true,
            noDelta: true
        });
    }
}));

gulp.task("transpile", function () {
    var tsProject = ts.createProject(paths.app + "/tsconfig.json");
    return tsProject.src()
        .pipe(sourcemaps.init())
        .pipe(tsProject())
        .pipe(sourcemaps.write("."))
        .pipe(gulp.dest(paths.app));
});

gulp.task("installDependencies", function (done) {
    gutil.log("Install Dependencies");
    gutil.log("npm.cmd", ["install"], { cwd: argv.sourceFolder, stdio: ["inherit", "inherit", "inherit"] });
    var res = null;

    res = spawnSync("npm.cmd", ["install"], { cwd: argv.sourceFolder, stdio: ["inherit", "inherit", "inherit"] });
    if (res.error) {
        throw "Failed to install dev dependencies";
    }

    gutil.log("npm.cmd", ["install"], { cwd: paths.app, stdio: ["inherit", "inherit", "inherit"] });
    res = spawnSync("npm.cmd", ["install"], { cwd: paths.app, stdio: ["inherit", "inherit", "inherit"] });

    if (res.error) {
        throw "Failed to install app dependencies";
    }

    gutil.log("npm.cmd", ["install"], { cwd: path.join(argv.sourceFolder, "node_modules_native"), stdio: ["inherit", "inherit", "inherit"] });
    spawnSync("npm.cmd", ["install"], { cwd: path.join(argv.sourceFolder, "node_modules_native"), stdio: ["inherit", "inherit", "inherit"] });

    if (res.error) {
        throw "Failed to install native dependencies";
    }

    gutil.log("powershell.exe", ["-File", path.join(argv.sourceFolder, "node_modules_native", "buildNativeDependencies.ps1")], { stdio: ["inherit", "inherit", "inherit"] });
    spawnSync("powershell.exe", ["-File", path.join(argv.sourceFolder, "node_modules_native", "buildNativeDependencies.ps1")], { stdio: ["inherit", "inherit", "inherit"] });

    if (res.error) {
        throw "Failed to compile native dependencies";
    }

    done();
})

gulp.task("buildDotNetDependencies", function (done) {
    gutil.log("nuget.exe", ["restore"], { cwd: path.join(argv.sourceFolder, "dotNet"), stdio: ["inherit", "inherit", "inherit"] });
    var res = spawnSync("nuget.exe", ["restore"], { cwd: path.join(argv.sourceFolder, "dotNet"), stdio: ["inherit", "inherit", "inherit"] });
    if (res.error) {
        throw "Failed to restore dotNet packages";
    }

    gutil.log("msbuild.exe", ["Orb.sln"], { cwd: path.join(argv.sourceFolder, "dotNet"), stdio: ["inherit", "inherit", "inherit"] });

    var build = new Msbuild();
    build.sourcePath = path.join(argv.sourceFolder, "dotNet", "Orb.sln");
    build.build();

    build.on("done", function (err, results) {
        if (err) {