Archive

Posts Tagged ‘Visual Studio’

Creating your own BizTalk 2006 Project Item Templates

September 2nd, 2008 Simon Segal No comments

From time to time I have the need to create file types within my BizTalk projects that you would think are pretty obvious, like an plain old vanilla XML file for example. Pretty obvious requirement I would have thought? The number of standard out of the box templates for BTS is not that complete so I decided to address that issue and create a few for myself : here’s how.

Locate the BizTalkProjectItems folder on your development machine, which should be often than not located under your program file folder here:

\Microsoft BizTalk Server 2006\Developer Tools\BizTalkProjectItems

Create your template file (in my case a plain old XML and Text File (the text file for creating flat file inputs).

<?xml version=”1.0″ encoding=”utf-8″ ?>
<Root></Root>

And the Flat File Template is simply a matter of creating a blank .txt file as a template. Copy the files (in my case BTSXmlFile.xml and BTSFlatFile.txt) to the directory named earlier in this post.

FlatFileTemplate

That’s it your done! Now you have two new templates for BizTalk projects in VS.Net.

newBtsTemplates

As you can see the BTSXmlFile and BTSFlatFile are now available in my add new item dialog window.

Share/Save/Bookmark

Visual Studio 2008 Bug Fix

August 19th, 2008 Simon Segal 3 comments

Recently I had installed Visual Studio 2008 SDK 1.0 & Visual Studio 2008 SP1 and seemingly for a few days there were no problems. After a couple of days I added Developer Express DX Core and again for a couple of days - no problems. Then suddenly this:

No template found

This dialog window was telling me that VS.Net 2008 was not recognising my item templates when I requested "Add New Item" from the context menu in the Solutiontemplates Explorer for a a given project. Immediately I checked in the "Options" menu and everything looked fine. After some research I tried restarting Visual Studio in safe mode and also tried resetting Visual Studio by running the startup arguments devenv /ResetSkipPkgs. Sadly both these approaches failed to make any difference. Finally I re-installed Visual Studio 2008 SP 1 and that sorted out the problem and VS was once again recognising my templates. Whew!

Share/Save/Bookmark

Categories: Visual Studio Tags: ,
Creative Commons Attribution-ShareAlike 2.5 Australia
Creative Commons Attribution-ShareAlike 2.5 Australia