CouchbaseCollatedViewKey attribute missing


#1

Hi,
In the sample Asp.Net Mvc 4 App Brewery I’m getting “CouchbaseCollatedViewKey attribute missing” error.
I’m Using CouchbaseModelViews ver 1.0.0.0 and CouchBaseNetClient 1.3.0.0.
Is there any solution?


#2

timucine -

Try cloning this repo: https://github.com/couchbaselabs/couchbase-model-views

It should have the missing attribute: https://github.com/couchbaselabs/couchbase-model-views/blob/master/src/CouchbaseModelViews.Framework/Attributes/CouchbaseCollatedViewKeyAttribute.cs

Build it, swap the reference and you should be good.

-Jeff


#3

Hi Jeff,

Thanks for your reply. It is working. :slight_smile: