Auto-GAC your BizTalk Helper Classes with Post Build Events

Posted: March 31, 2012 in Biztalk
Tags:

Auto-GAC your BizTalk Helper Classes with Post Build Events

Working with .net helper classes in BizTalk Server is a common occurance.

It can sometimes be easy to forget to GAC the latest version of the code when you go to test the solution on your local development box. But using a simple Post Build Event, you can have your code automatically put in the GAC for you.

Adding a post build event is easy. Just go to the project properties of your helper class and select Build Events.

Enter the following under Post Build Event:

“C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe” /i $#TargetPath#

Now when you build your .net code your dll will be GACed for you.

via Auto-GAC your BizTalk Helper Classes with Post Build Events.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s