Thursday, July 7, 2011

How to Gac and copy a BizTalk 2010 Pipeline Component

On Windows 7 and Windows 2008 R2 Server, the Gac Utility is located in C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools.

XCopy is not supported, so the easiest way to copy the DLL to the BizTalk 2010 Pipeline Folder is by using "Copy" with the /y switch to Suppresses prompting to confirm you want to overwrite an existing destination file.

The following script can be added to the Post-Build Event Command Line.

"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\GacUtil.exe" /nologo /i "$(TargetPath)" /f

  copy "$(TargetPath)" "C:\Program Files (x86)\Microsoft BizTalk Server 2010\Pipeline Components" /y

No comments:

Post a Comment