2009-04-28 13 views

Antwort

1

wenn Sie Referenzen und Importieren von Namespaces bedeuten Hinzufügen Sie tun es in der app.config oder web.config

<?xml version="1.0"?> 

<configuration> 

    <configSections> 
    <section name="nhaml" type="NHaml.Configuration.NHamlConfigurationSection, NHaml"/> 
    </configSections> 

    <nhaml autoRecompile="true"> 
    <assemblies> 
     <add assembly="NHaml.Samples.Mvc"/> 
    </assemblies> 
    <namespaces> 
     <add namespace="NHaml.Web.Mvc"/> 
     <add namespace="NHaml.Samples.Mvc.Controllers"/> 
    </namespaces> 
    </nhaml> 

... 

</configuration>