Hi,
You can use .net code in your template. Here is an example ...
<%@ CodeTemplate Language="VB" TargetLanguage="VB" Description="" %>
<%@ Property Name="OutputDirectory" Type="System.String"
Default="" Category="Options" %>
<%@ Import Namespace="System.IO" %>
<script runat="template">
Function CopyProject() As String
'do copy here
File.Copy("source\image.gif", Path.Combine(OutputDirectory, "image.gif"))
End Function
</script>
<% CopyProject %>
~ Paul