nandarya
nandarya

Reputation: 863

Rhino.Commons and it won't compile

I get this very strange error message when trying to use Rhino.Commons with my asp.net mvc application.

Error   3   'Rhino.Commons.Repository<Web.Models.Poll>.FindAll()' is not supported by the language  C:\frank\dev\SampleApplication\Web\Models\Repositories\IPollRepository.cs   15  20  Web

Someone got any experience with this error?

Upvotes: 0

Views: 192

Answers (2)

Emond
Emond

Reputation: 50672

I ran into the same message "is not supported by the language" for several methods and constructors.

The solution for me was to clean the solution and rebuild everything.

Upvotes: 0

Kostas Konstantinidis
Kostas Konstantinidis

Reputation: 13707

try this, seems promising. ie try to update your referenced dll for all your projects.

Upvotes: 0

Related Questions