MVC3 RC剃刀@helper位置 [英] MVC3 RC Razor @helper locations
本文介绍了MVC3 RC剃刀@helper位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
In the introduction to Razor on ScottGu's blog, he mentioned placing the @helper
s inside Views\Helpers
. I tried doing so in the RC and after a lot of searching, I found out that the helpers should be in the App_Code
folder. I don't need my helpers in another assembly (especially if they're specific to this project), and having them way up in the App_Code
seems ugly IMO. Is there a current solution to have the these helpers inside a View\Helpers
folder?
推荐答案
我怕他们还没有实现这个功能呢,至少在RC版本。
I am afraid they didn't yet implement this feature yet, at least not in the RC build.
这篇关于MVC3 RC剃刀@helper位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文