Did you ever hear of “BizTalk Software Factory“?
Good chance you haven’t, looking at the lack of love it seems to be getting on CodePlex. Until a few days ago, I was in that same spot…
So today I tried to install BizTalk Software Factory on a BizTalk Server 2010 development machine. Trying to find out what it actually does, since it I never heard of it before and to be honest: documentation seems to be scarce! Reading the instructions seemed promising and who knows, it might help in getting things automated and potentially be a time-saver!
I had some issues getting it to run. I have a VM with Visual Studio 2010 Premium on it, since that is the one which is included into my MSDN subscription.
Being somebody who generally doesn’t read too much instructions, since I think I will get it working anyway, I found myself in trouble faster than expected…. Getting the BSF extension installed, quickly hit me in the face:
Note: The installer somehow mentions I have Ultimate installed, but I do have VS2010 Premium installed
The “View Install Log” baffled me, it said:
23/05/2016 0:45:07 - Searching for applicable products... 23/05/2016 0:45:07 - Found installed product - Microsoft Visual Studio 2010 Ultimate 23/05/2016 0:45:07 - The extension with ID 'BizTalkSoftwareFactory' is not installed to Microsoft Visual Studio 2010 Ultimate. 23/05/2016 0:45:07 - Found installed product - Microsoft Visual Studio 2010 Premium 23/05/2016 0:45:09 - The following target products have been selected... 23/05/2016 0:45:09 - Microsoft Visual Studio 2010 Ultimate 23/05/2016 0:45:09 - 23/05/2016 0:45:09 - Beginning to install extension to Microsoft Visual Studio 2010 Ultimate... 23/05/2016 0:45:09 - Install Error : Microsoft.VisualStudio.ExtensionManager.MissingReferencesException: This extension cannot be installed because the following references are missing: - Guidance Automation Extensions at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.BeginInstall(IInstallableExtension installableExtension, Boolean perMachine, AsyncOperation asyncOp) at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallWorker(IInstallableExtension extension, Boolean perMachine, AsyncOperation asyncOp)
Perhaps time to actually read the installation instructions…yes, I know they are on the front page, but don’t judge me, it takes some googling.
Apparently there are several dependencies:
- Guidance Automation Extensions
- Guidance Automation Toolkit 2010
- Guidance Automation Extension 2010
- Visual Studio 2010 SDK
I was able to find them all by performing a quick Google search (links above).
Everything installed correctly, except the Visual Studio 2010 SDK:
Once the Visual Studio 2010 SDK SP1 was installed, I was able to install BSF as well:
EUREKA! So, all set to go!
I open up an existing solution and project and expect to be able to add a new project, with all the new fancy stuff from BSF. Unfortunately, that’s not how it works!
BSF only seems to work with new solutions, since it will create a complete range of projects for your new solution in one go!
Therefore, close any existing solutions you have open and just create a new project.
At last, there we have the BSF project-type available:
Click the Add button once you are satisfied with the settings and behold the magic:
You can even provide a single .snk for all of your projects, or combine all project types into one single project:
Now that’s pretty cool and saves you quite some time!
Here is another screenshot of the solution that was created now:
Note that I didn’t provide a snk-file during creation.
BizTalk Software Factory is a nifty little thing!
It will create a BizTalk solution with the type of projects you need. It will include references to BizTalk Deployment Framework (BTDF) with build scripts (.bat files) and deployment scripts already included, which is another plus. What is even nicer is that it will already set your BTDF deployment project with the correct ItemGroups and properties set! Now that’s a time-saver!