Updating FlickrNet

Apr 27, 2010 at 8:13 AM
Edited Apr 27, 2010 at 8:39 AM


I'am trying the new version. But when testing with simple console program I get this error:

Could not load file or assembly 'FlickrNet, Version=, Culture=neutral, PublicKeyToken=2491df59efa5d132' or one of its dependencies. An attempt was made to load a program with an incorrect format.

I am using Windows 7 x64

I have a simple console program with this code:


         Flickr flickr = new Flickr();
         flickr.ApiKey = "*********";
         flickr.ApiSecret = "*********";
         PhotoSearchOptions options = new PhotoSearchOptions();         
         options.Tags = "Amsterdam";
         options.PerPage = 25;
         options.Page = 25;
         options.SortOrder = PhotoSearchSortOrder.DatePostedDescending;
         PhotoCollection photos = flickr.PhotosSearch(options);

Apr 27, 2010 at 8:40 AM

Solved the problem myself. It was the target CPU. I am using x64