Quantcast
Channel: BizTalk Messages
Viewing all articles
Browse latest Browse all 50

Visual 2010 BizTalk project woes

$
0
0

I sometimes find myself in a situation where I need to make direct modifications to the XML code of an orchestration, map or pipeline. In Visual Studio you can do this easily by opening the file with the non default editor (right click orchestration file, ‘Open With…’ and ‘XML (Text) Editor’).

I encounter very strange behavior for the different file types (orchestrations, maps, pipelines) after I opened them in the Visual Studio 2010 XML editor. For schema files the behavior is as expected. For the other file types it looks like the default editor binding is missing after opening the file in the XML editor.

Orchestrations:

Steps to reproduce:
- right click orchestration (.odx) file in solution explorer
- choose ‘Open With…’
- choose ‘XML (Text) Editor’
- close the orchestration (save is not necessary)
- open the orchestration with the default editor (double click)

Results:
The orchestration opens but displays a very strange screen. It looks like a mix between the orchestration and the code behind:

image

Besides this there are the context menu for the specific orchestration has changed. Two options are added:

image

Maps:

Steps to reproduce:
- right click map (.btm) file in solution explorer
- choose ‘Open With…’
- choose ‘XML (Text) Editor’
- close the map (save is not necessary)
- open the map with the default editor (double click)

Results:
In this case the map opens with the correct mapper editor but there are also two extra options added to the context menu as is the case with orchestrations.

Pipelines:

Steps to reproduce:
- right click pipeline (.btp) file in solution explorer
- choose ‘Open With…’
- choose ‘XML (Text) Editor’
- close the pipeline (save is not necessary)
- open the pipeline with the default editor (double click)

Results:
For pipelines Visual Studio opens the XML representation when double clicking. It seems as if the default editor has changed.

image

This is very annoying. Is it just me? Do you have this too at your development box?

Workaround:
The workarounds I found are:
- Choose ‘Open with…’ and pick the default editor from the list.
- Open the BizTalk project (.btproj) with notepad and remove the ‘<subType>’  xml nodes for every file. After open the project again in Visual Studio it is fixed (until you open the file with the XML editor again).

I’m using BizTalk 2010 RTM (developer edition), Visual Studio 2010 Ultimate. Do you have this too?

I raised this issue on the Microsoft connect site.


Tagged: BizTalk, BizTalk 2010, Visual Studio, Visual Studio 2010

Viewing all articles
Browse latest Browse all 50

Trending Articles