zoukankan      html  css  js  c++  java
  • 命令行生成解决方案


    @echo off
    @REM  ----------------------------------------------------------------------------
    @REM  Build bat file
    @REM
    @REM  This batch file builds the Testsoluction and tools.
    @REM  By default, it builds a Debug build.
    @REM 
    @REM  Optional arguments for this batch file:
    @REM    1 - Build type. Defaults to Debug
    @REM  ----------------------------------------------------------------------------

    echo.
    echo =========================================================
    echo      BuildLibrary  Script    By Rob Xie.   
    echo      Builds Test Library                   
    echo =========================================================
    echo.

    set msBuildDir=%WINDIR%\Microsoft.NET\Framework\v2.0.50727
     set solutionDir="."
     set buildType=Debug
    @rem set buildType=Release
    set returnErrorCode=true
    set pause=true

    del output /f /s /q
    rd  output /s /q

    echo.
    echo =========================================================
    echo      Finished delete old files and folders
    echo      Starting Building....
    echo =========================================================
    echo.


    call %msBuildDir%\msbuild TestSolution.sln /t:Rebuild /p:Configuration=%buildType%

    if %pause%==true PAUSE

    popd
    set pause=
    set solutionDir=
    set buildType=
    set returnErrorCode=
    set prompt=%savedPrompt%
    set savedPrompt=

    echo on

  • 相关阅读:
    SpringMVC视图解析器
    FreeMarker介绍
    一篇很全面的freemarker教程
    request,session,application
    nav布局 在线演示 DIVCSS5
    opacity
    java 某字符串在另一字符串中是否存在
    bochs 使用讲解
    使用VS2015搭建Lua开发环境
    Zip文件格式
  • 原文地址:https://www.cnblogs.com/mingyongcheng/p/2100111.html
Copyright © 2011-2022 走看看