好,我一直在尋找剃刀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