Msbuild Biztalk Add Resources, Add Application
<Project xmlns="https://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="AddBtResx;">
<PropertyGroup >
<BTServerName></BTServerName>
<BTServerDatabase></BTServerDatabase>
<MsgFailed>Failed Adding Resource for </MsgFailed>
<MsgSuccess>success Adding Resource for </MsgSuccess>
<ResxAppName>Finance</ResxAppName>
<Locn>"c:\Program Files\Microsoft\Bin\Microsoft.Talk.Adapter.Schemas.dll"</Locn>
</PropertyGroup>
<Target Name="AddBtResx" >
<Exec Command='btstask AddApp -A:$(ResxAppName) -Server:$(BTServerName) -Database:$(BTServerDatabase)'/>
<Exec Command='btstask AddResource -A:$(ResxAppName) -T:"System.BizTalk:BizTalkAssembly" -OverWrite -Server:$(BTServerName) -Database:$(BTServerDatabase) -Source:$(Locn)'/>
<Message Importance ="high" Text ="$(MsgSuccess) : $(ResxAppName)" ContinueOnError ="true" ></Message>
<OnError ExecuteTargets ="HandleErr"/>
</Target>
<Target Name="HandleErr" >
<Message Importance ="high" Text ="$(MsgFailed) : $(ResxAppName)" ContinueOnError ="true" ></Message>
</Target>
</Project>
Comments
- Anonymous
July 30, 2008
PingBack from http://blog.a-foton.ru/2008/07/msbuild-biztalk-add-resources-add-application/ - Anonymous
October 16, 2011
The comment has been removed