Thursday, 12 June 2014

k2 blackpearl deployment package

1. Open VS–> go to process–>right click–>Create Deplyment Package

2. you will get .msbuild file

3. This one you have send for client.

4. Copy below code in to notepad and save as .bat

—————————————————

cls

cd\

cd c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

@echo off

echo ******* Deploying SmartObjects *******

MSBUILD “” /P:TestOnly=true;Environment=Development

echo ******* Deploying Workflow *********

MSBUILD “” /P:TestOnly=true;Environment=Development

————————————————————————–

5. Double click on saved .bat file

6.we need to pass 3 parameters

7. a) msbuild file path which we got in step 2.

b) Next parameter is testonly=true or false

true- only build

false- build and deploy

c)environment (Ex:Development (or)Production)