File or assembly name 'PhoneCodeContractsAssemblies, Version=

Dec 30, 2010 at 7:48 PM

I am getting this message when I try to use code below. any suggestion?

File or assembly name 'PhoneCodeContractsAssemblies, Version=, Culture=neutral, PublicKeyToken=null', or one of its dependencies, was not found.

<UserControl.Resources>        <imagetools:ImageConverter x:Key="ImageConverter" />     </UserControl.Resources>    

   <imagetools:AnimatedImage Name="ImgLoading" Source="{Binding ImageSource, Converter={StaticResource ImageConverter}}" />

            Random rand = new Random();
            ImageTools.ExtendedImage myImage = new ImageTools.ExtendedImage();
            ImageSource ="" + rand.Next(0, 14) + ".gif";
            myImage.UriSource = new  Uri(ImageSource, UriKind.Absolute);
            this.ImgLoading.Source =(ImageTools.ExtendedImage)myImage;

Dec 30, 2010 at 10:34 PM
You have to add the

PhoneCodeContractsAssemblies.dll as a reference to your application. This is what the message says.
Dec 30, 2010 at 10:41 PM

yes, after I made this post. I realized that dll but although i set reference, it is still giving error.additionally  dlls i added as reference are,

  • ImageTools
  • ImageTools.Controls
  • ImageTools.IO.Gif

I dont know what else I have to. appreciate  for your help

Dec 30, 2010 at 10:45 PM
Very Strange, send me ur sample project with the reference when u want,
I can have a look. But please delete bin and obj folders first.

Send it to