Sign In
Biztalk Discoveries, Experiences
My Biztalk Discoveries, Experiences on day to day work, during Dev , Qa ,Deployment , Production environments etc
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Blog Home
About
Email Blog Author
Share this
RSS for posts
Atom
RSS for comments
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Archive
automated build
Bindings
Biztalk
biztalk administration
biztalk Map
Biztalk Messages
btproj
build
Commerceserver Adapter
Debug
Deploy
Distinguished Property
Email
functoid
Host Instances
how to Map
Log
map
Message
msbuild
Orchestration
PortType
sdctasks
Testcases
Archive
Archives
August 2008
(2)
July 2008
(15)
June 2008
(5)
May 2008
(2)
April 2008
(6)
February 2008
(2)
January 2008
(4)
Msbuild Biztalk Stop Applications
MSDN Blogs
>
Biztalk Discoveries, Experiences
>
Msbuild Biztalk Stop Applications
Msbuild Biztalk Stop Applications
Y2KPRABU
31 Jul 2008 3:28 AM
Comments
0
<
Project
xmlns
=
"
http://schemas.microsoft.com/developer/msbuild/2003
"
DefaultTargets
=
"
CheckAppExists;StopApplication;RemoveReferences;UnDeploy
"
>
<
Import
Project
=
"c:\sdc
\Microsoft.Sdc.Common.Tasks
"
/>
<
PropertyGroup
>
<
AppExists
>
False
</
AppExists
>
<
BTSRefApp
></
BTSRefApp
>
<
BTServerName
></
BTServerName
>
<
BTServerDatabase
></
BTServerDatabase
>
<
BTAppName
>customercare</
BTAppName
>
</
PropertyGroup
>
<
Target
Name
=
"
CheckAppExists
"
>
<
BizTalk2006.Application.Exists
Application
=
"
$(BTAppName)
"
Server
=
"
$(BTServerName)
"
Database
=
"
$(BTServerDatabase)
"
>
<
Output
TaskParameter
=
"
DoesExist
"
PropertyName
=
"
AppExists
"
/>
</
BizTalk2006.Application.Exists
>
</
Target
>
<
Target
Name
=
"
StopApplication
"
DependsOnTargets
=
"
CheckAppExists
"
Condition
=
"
$(AppExists)=='True'
"
>
<
BizTalk2006.Application.Stop
Application
=
"
$(BTAppName)
"
Server
=
"
$(BTServerName)
"
Database
=
"
$(BTServerDatabase)
"
/>
</
Target
>
<
Target
Name
=
"
RemoveReferences
"
Condition
=
"
$(AppExists)=='True'
"
>
<
BizTalk2006.Application.RemoveReferences
Application
=
"
$(BTAppName)
"
ReferenceApplications
=
"
$(BTSRefApp)
"
Server
=
"
$(BTServerName)
"
Database
=
"
$(BTServerDatabase)
"
/>
</
Target
>
<
Target
Name
=
"
UnDeploy
"
Condition
=
"
$(AppExists)=='True'
"
>
<
BizTalk2006.Application.Delete
Application
=
"
$(BTAppName)
"
Server
=
"
$(BTServerName)
"
Database
=
"
$(BTServerDatabase)
"
/>
</
Target
>
</
Project
>
0 Comments
Biztalk
,
msbuild
,
Stop Applications
Blog - Comment List MSDN TechNet
Comments
Loading...
Leave a Comment
Name
Comment
Please add 1 and 3 and type the answer here:
Post