好,我一直在寻找剃刀Rockstars的,但我创建了一个布局描述Physical Project StructureServiceStack剃刀访问量编译错误
我有我的serviceInterface等DLL一个视图,并把它设置为CopyIfNewer但每次我浏览到本地主机: 5000 \你好\名字,我得到下面的错误:
HttpCompileException
它说:
c:\Users\tyler.w.reid\AppData\Local\Temp\ayyw2jf2.0.cs(28): error CS0246: The type or namespace name 'ServiceModel' could not be found (are you missing a using directive or an assembly reference?)
我已经确定了主要的exe和丝氨酸viceInterface dll都有该项目的参考。我也将它添加到app.config
<pages pageBaseType="ServiceStack.Razor.ViewPage">
<namespaces>
<add namespace="ServiceStack.Html" />
<add namespace="ServiceStack.Razor" />
<add namespace="ServiceStack.Text" />
<add namespace="ServiceStack.OrmLite" />
<add namespace="StudentTeachingManager" />
<add namespace="StudentTeachingManager.ServiceModel" />
<add namespace="StudentTeachingManager.ServiceModel.Types" />
</namespaces>
</pages>
任何人都可以提供一些建议,接下来该做什么?
是否有一个“StudentTeachingManager.ServiceModel.dll”与注册的“StudentTeachingManager.ServiceModel”命名空间一起使用?为什么要寻找“ServiceInterface”? – mythz