Wednesday, 23 April 2014

K2 MSBUILD

K2 MSBUILD

Open Command prompt

cls
cd\
cd c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
@echo off
Set /P _MSBuild=Please enter MSBuild Path :
Set /P _TestOnly=Please specify TestOnly as True or False (True for Build only and False for Build and Deploy) :
Set /P _MSEnv=Please specify environment (Development or QA or Production) :
echo ******* Deploying SmartObjects *******
MSBUILD “%_MSBuild%” /P:TestOnly=%_TestOnly%;Environment=%_MSEnv%
Set /P _Quit=Hit enter to quit :