开发者

Error The type or namespace name 'name of my tables' could not be found()are you missing a ussing directive or an assembly refrence?)

I get this error (The type or namespace name 'name of my tables' could not be found()are you missing a ussing directive or an assembly refrence?)) in Context.cs file when i compile 开发者_StackOverflowmy ASP.NET MVC2 Web Application. I follow these guide http://subsonicproject.com/docs/Setting_up_SubSonic_3.0 but i cant solve this problem.


I have seen this error after I made customizations to SQLServer.ttinclude to include only certain tables, but for which I forgot to make corresponding changes in ActiveRecord.tt. If you are just setting up and have made no modifications, probably you are not seeing the error for the same reason. But maybe try reloading your .tt and .ttinclude files from the SubSonic distribution so you are sure you didn't accidentally modify them (other than setting connection string etc.).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜