Command Line generation solution

Source: Internet
Author: User

@ 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.