A quick example of how to employ BIML debugging.
- Grab the
Biml
directory and place it into your project - Configure the
Config.cs
file accordingly - Change
1.Environment.biml
to point at your landing folder for the flat files - Include this line in your BIML files:
<#@ include file="Path\To\Debug.csbiml"#>
- Wrap your BIML files, inside the tags, with the following:
<# try { #>
<# } catch (Exception ex) {
Debug.BimlDump(this.GenerationEnvironment.ToString(), Host.TemplateFile);
} #>
- Select the files in the following in order to compile (4, 3, 2, 1) then right click and
Generate SSIS Packages