zoukankan      html  css  js  c++  java
  • 命令行 编译C#.NET项目

    命令行 编译C#.NET项目

    @Rem @echo off

    IF "%1"=="" (SET mode=Release) else (SET mode=%1)

    cd ../
    set ROOT_DIR=%cd%
    set MSBUILD="C:WindowsMicrosoft.NETFrameworkv4.0.30319MSBuild.exe"

    IF %mode%==Release (
    %MSBUILD% XXXX.sln /t:Rebuild /P:Configuration=Release /p:PlatformTarget=x86
    @Rem ;Platform=x86
    )

    IF %mode%==Debug (
    %MSBUILD% XXXX.sln /t:Rebuild /P:Configuration=Debug /p:PlatformTarget=x86
    @Rem ;Platform=x86
    )

    if exist "Output" RMDIR /s /q Output

    ::ww-spc Explorer
    mkdir OutputExplorer
    xcopy /y /c /E /k /x Clientin\%mode%*.* OutputExplorer


    ::ww-spc Server
    mkdir OutputServer
    xcopy /y /c /E /k /x ServerHostin\%mode%*.* OutputServer

    cd build

    goto END


    echo incorrect prama
    echo e.g.
    echo build release
    echo build debug
    echo build

    :END

  • 相关阅读:
    shell
    梯度,也即该物理参数的变化率,导数
    一些石油类核心期刊
    泰勒展开
    向量范数
    添加打印机
    泛函
    9.3.4 BeaufitulSoup4
    9.3.3 scrapy 框架
    9.3.2 网页爬虫
  • 原文地址:https://www.cnblogs.com/netact/p/3492570.html
Copyright © 2011-2022 走看看