C#技术百科
问问你的心你有没有信心 做事情要专一坚定,执着

没有为扩展名“.html”注册的生成提供程序。可以在 machine.config 或 web.config 中的 <compilation><buildProviders> 节注册一个。请确保所注册的提供程序具有包含值“Web”或“All”的 BuildProviderAppliesToAttribute 属性

在重写目录之后发现真实的html显示不出来了

只有按照有求做了

节注册一个

 

     <compilation debug="true" >
        <buildProviders>
          <add extension=".html" type="System.Web.Compilation.PageBuildProvider" />
        </buildProviders>

      </compilation>

这样发现真实的html文件就可以使用了

 

 

posted on 2009-05-30 15:09  王德田  阅读(543)  评论(0编辑  收藏  举报