| Tag | Description | Example(s) |
| DEBUG | When this tag is added to a template, the template builds in debug mode. | <%DEBUG%> |
| FILE <relativepath> | This tag is replaced with the raw contents of relativepath in the template code. | <%FILE codeInclude.cs%> |
| REFERENCE <assemblyname>, ... | This tag adds an assembly reference to the template allowing you to access it's contents in code. you can reference custom assemblies by placing them in the same folder as the mygeneration.exe. (or put them in the GAC) | <%REFERENCE MyCustomAssembly.dll%> <%REF MyCustomAssembly.dll, System.Windows.Forms.dll%> |
| NAMESPACE <namespace>, ... | This tag adds an namespace import, much like the "import" command in Vb.Net or the "using" command in C#. | <%NAMESPACE System.Diagnostics%> <%NS System.Diagnostics, System.Collections%> |
<%#DEBUG%><%
Public Class GeneratedTemplate
Inherits DotNetScriptTemplate
Public Sub New(context As ZeusContext)
MyBase.New(context)
End Sub
Public Overrides Sub Render
System.Diagnostics.Debugger.Launch()
End Sub
End Class
%>
Notice the first line. It really needs to be formatted exactly as shown below, no white space and all on one line.
<%#DEBUG%><%
System.Diagnostics.Debugger.Launch()