Monday, 13 January 2014

Open BIML script without losing format and intellisense

Case
A couple of months ago I posted some tips about getting started with BIML. If you mix C# and BIML then you could loose formatting and intellisense. You can overcome this by right clicking the BIML Script and select Open With... Then choose the XML (Text) Editor. Now it opens with formatting and intellisense. It works, but it's still a little annoying...
Open in XML (Text) Editor















Solution
There is an easier solution: move the imports to the bottom of your script. Now close the script and open it the normal way.
Move imports to bottom





















Thanks to colleague @ralbouts

No comments:

Post a Comment

Please use the SSIS MSDN forum for general SSIS questions that are not about this post. I'm a regular reader of that forum and will gladly answer those questions over there.

All comments are moderated manually to prevent spam.