Solution file version issue when migrating your Build Script to BizTalk 2009

Ive just been working on upgrading the build generator to support BizTalk 2009 projects. While doing this one of the things i wish to do is to change the compile step to use MsBuild rather than dev env.

I found a little issue which others who use MsBuild may come across when migrating custom scripts.

Previously for BizTalk 2006R2 scripts I used to use the below command:

<Exec Command='”$(DevEnvPath)” $(SolutionName) /Build $(ConfigurationName)’ />

This would compile the whole solution using devenv.

I changed the script to the following:

<MSBuild Projects =”$(SolutionPath)” Properties=”Configuration=$(ConfigurationName);” />

and also changed the property on the project to use ToolsVersion=”3.5″

This is how I expected the build to need to be and it would mean our script would take advantage of using the MsBuild task inline. When I ran the script I get the following error:

Solution file error MSB5014: File format version is not recognized. MSBuild can only read solution files between versions 7.0 and 9.0, inclusive”

My initial thoughts made me think this was more complicated than it actually was. I was looking at using the Exec command rather than the MsBuild task for the compile which I could get to work. Then suddenly the answer hit me.

The problem was that I forgot that the .cmd file I use to call the MsBuild file was configured to use the v2.0 version of MsBuild rather than 3.5. As soon as I corrected this it worked fine.

So if you have the above error remember to double check the original call to start your build script wether it be from TFS/Cruise Controlor a custom file etc.

Cloud TV – Community Webcast Site Hosted in Windows Azure

I’ve been looking with Windows Azure for a months now, and thought it would be about time to launch my own Azure hosted site.
Cloud TV is a community based website for hosting webcasts relating to Microsoft technologies. The idea for the Cloud TV project is to develop a cool application using Windows Azure that can show off the potential of Azure and the ease of use for existing .net developers and to create a community site for developers to contribute content in the form of webcasts.
It’s along the same lines as the “Bloggers Guides”, a non-profit community based site that will be a great resource for developers. If you have any webcasts that you would like to have hosted there, please let me know.
I have a basic “Upload” page that allows you to submit a webcast. All webcasts will be approved before publication to prevent abuse (I don’t want to get back from vacation and find a ton of illegal content on it). If you have issues with the upload page, please contact me and I can upload and publish your content.
It’s also time for the “Outside USA” Azure Developer Challenge, so please cast a vote sometime between the 10th and 20th July.
The site is here.

WSCF Blue: Beta-1

WSCF Blue: Beta-1

WSCF-Blue, the WCF successor to the popular WSCF (Web Services Contract First) tool is now available in its first beta release at CodePlex.I’m delighted to be a part of the team working alongside guys like Christian Weyer, Buddhike De Silva, Edward Bakker and Alex Meyer-Gleaves.
If you aren’t familar with the tool, basically WSCF provides tooling […]

SQL Server Adapter Add Generated Item Wizard closes unexpectedly

Hi all

During my years on the forums, I have seen plenty, plenty and plenty more posts about
the SQL Server Adapter schema generator closing unexpectedly, without any errors or
any artifacts created.

Today I ran into it myself for the very first time with a BizTalk 2009 installation.
I did some searching and found this post: http://support.microsoft.com/kb/917847 –
which only applies to BizTalk 2004 and BizTalk 2006.

This blog post is just to let everyone know that it applies to BizTalk 2009 as well.

Good luck out there



eliasen

I’m an MVP for 2009!

A couple of days late, but I’m thrilled to announce that Microsoft has recognized me as a Most Valuable Professional again for 2009.  I’m always immensely honored to be counted among this incredible group of technologists.  MVPs are known around the world as passionate experts in their field, and I can only hope to live up to that ongoing recognition.

For those of you who follow my blog for technical reasons, you’ll be pleased to know I continue to be recognized as a Connected Systems Development MVP, and that you should see a lot of interesting content regarding Code Contracts, Windows Communication Foundation, and Windows Workflow Foundation all in .NET 4 in the coming weeks.

Rogue Service-Windows Created for Response Subscriptions in BizTalk 2006

Yesterday I came across an interesting production issue – a service-window that BizTalk Server 2006 had incorrectly created on a response message subscription due to the way it handles daylight savings time.
Background to the Problem

The orchestration in question consumes a third-party web-service via the SOAP adapter. The request had been successfully sent, however the orchestration […]