DDay iCal FileNotFoundException

153 Views Asked by At

This is my code:

public Schedule(string vCalendar)
{
    IICalendarCollection allEvents = iCalendar.LoadFromStream(new StringReader(vCalendar));
}

The vCalendar string object is a .ical/.ics file that I read in. Why does this throw a FileNotFoundException?

Isn't this suppose to work with a string coded in an ical/ics format.

2

There are 2 best solutions below

0
On

Are you sure? Your code works for me. A calendar string is correctly loaded and I can browse the contents in debug. I fear something else is causing your file not found exception.

0
On

dday.ical isn't supported in WP8.1 (or WinRT), so the DLL can't be loaded.