Thursday, May 26, 2005

Generating C# Source files for Biztalk Orchestrations

Another starlin undocumented stuff with BTS 2004....
Ever wondered, what does Biztalk do with all the orchestrations you do with it ?
Well, wait no longer ..
Cos, I've just discovered this amazing undocumented stuff that Charles Young has documented on his blog at - (http://geekswithblogs.net/cyoung/archive/2005/01/22/20633.aspx)

It says that you have a registry setting that generates C# files whenever you compile your Biztalk project.

Interesting isnt it ? Lets read further..
Microsoft controls the generation of C# files on compilation of Biztalk project by a registry key.
To enable the option, simply follow these steps -
1. Create a key called BizTalkProject at the following location -
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\7.1

2. Add to it a DWORD value called - GenerateCSFiles and set its value to 1 or anything more than that.

3. Restart Visual Studio, load the project and compile it.

You should get the c# files generated by Biztalk on compilation in your project folder.

Cool isnt it ?
Sometimes really keeps you wondering what all Easter Eggs you should be expecting with MS products !

Happy BizTalking !!!

0 Comments:

Post a Comment

<< Home