<#@ output extension=".js" #> <#@ template debug="false" hostspecific="true" language="C#" #> <#@ include file="C:\Documents\Manager.ttinclude" #> <# var manager = Manager.Create(Host, GenerationEnvironment); #> <# var a=new string[]{"a","b"}; for (int i = 0; i < a.Length; i++) { manager.StartNewFile(a[i]+".js"); #> <#= a[i] #>how <# } manager.Process(true); #>
时间: 2024-11-10 07:38:42