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

  • 相关阅读:
    启动WCF多个服务方法
    获取本机内存使用信息、DataTable占用内存空间
    分享到微博代码
    EXCEL拼接SQL
    动态调用webservice及WCF服务
    整洁架构
    端口与适配器架构
    清晰架构
    EBI架构 VS. MVC
    查看Oracle加锁情况及解锁方法
  • 原文地址:https://www.cnblogs.com/mingyongcheng/p/2100111.html
Copyright © 2011-2022 走看看