I need to update a resource inside a BizTalk application. It is a BizTalk project that contains maps (btm and xslt). Manual steps to do this are -
-Build the project
-Copy the dll to application path on the BizTalk server (Ex. C:\Program Files (x86)\MyBizTalkApp\bin)
-Goto BizTalk application-->Resources-->Right click on that resource-->Modify
-Click on Refresh-->Select the updated dll from the application path (copied in the previous step) and click on Refresh.
-Check "Add to GAC on add resource" and click OK
-Restart host instance
How can these be achieved using scripts? Does using BTSTask.exe to add resource do ALL the above steps (including host instance restart)?