-1

I developing a windowsphone 8.1 application and use DDay.iCal libery. I included the libery over nuget. I like to load a calendar from a Stream. When I Load it i get the following error message:

An exception of type 'System.IO.FileNotFoundException' occurred in DDay.iCal.DLL but was not handled in user code Additional information: Could not load file or assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.

this is my code to load the calendar:

var str=GenerateStreamFromString(result);
IICalendarCollection calendars = iCalendar.LoadFromStream(str);
Thomas Kaemmerling
  • 547
  • 1
  • 9
  • 19

1 Answers1

1

The DLL is compiled against .Net 2.0/3.5 and not compatible with Windows Phone.

enter image description here

This is why you get this error message. Use a library which is compatible to Windows Phone.

magicandre1981
  • 27,895
  • 5
  • 86
  • 127