Unknown attribute: context=0

May 14, 2012 at 7:33 AM


PhotoSearchOptions searchOptions = new PhotoSearchOptions();
searchOptions.Extras = PhotoSearchExtras.All;
searchOptions.Tag = txSearch.Text;
searchOptions.PerPage = 10;
PhotoCollection microsoftPhotos = flickr.PhotosSearch(searchOptions);


An "Unknown attribute: context=0" error popuped after searching.

txSearch.Text = "android"

May 15, 2012 at 9:29 PM

If you are using the release build then you won't run into this issue as the exception is only thrown for debug builds.

I'll look into it and add the code to handle whatever "context" is soon.


May 17, 2012 at 9:17 AM

I've checked the code, and the GeoContext property was added in january, so should be handled correctly in the latest binaries and source code, so I'm not sure how you came across this issue.