ServiceStack Razor 继承指令没有智能感知 [英] ServiceStack Razor inherits directive has no intellisense
问题描述
我正在学习 ServiceStack razor 并希望更好地使用它(一般是 ServiceStack),但我无法让智能感知在模型上工作(通过 inherits 指令)
I'm learning ServiceStack razor and wanted to get better with it(ServiceStack in general), I can't get the intellisense to work on models(via inherits directive) though
这是我到目前为止的尝试:http://www.ienablemuch.com/2012/12/self-hosting-servicestack-serving.html
Here's my attempt so far: http://www.ienablemuch.com/2012/12/self-hosting-servicestack-serving.html
推荐答案
我已经解释了在获取 Razor Intelli-sense 在这里工作 基本上让它工作很微妙,我现在决定最好首先专注于升级以使用当前(向后不兼容)Razor v2.0 版本,然后再投入更多精力让智能感知工作.这是我计划在不久的将来解决的问题.
I've explained the troubles I've had with getting Razor Intelli-sense to work here basically it's delicate to get it working that I've now decided it's better to first focus on upgrading to use the current (backward-incompatible) Razor v2.0 version before investing further effort in getting intelli-sense to work. This is something I plan to tackle in the near future.
顺便说一句:迈克尔的好文章,我已将其添加到 Wiki 和 社区资源.
BTW: Nice article Michael, I've added it to the Wiki and Community Resources.
这篇关于ServiceStack Razor 继承指令没有智能感知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!