这是我的代码:
public Schedule(string vCalendar)
{
IICalendarCollection allEvents = iCalendar.LoadFromStream(new StringReader(vCalendar));
}vCalendar字符串对象是我读入的.ical/.ics文件。为什么这会抛出一个FileNotFoundException?
这不是应该用来处理以ical/ics格式编码的字符串吗?
发布于 2014-08-20 23:10:27
真的吗?你的代码很适合我。日历字符串已正确加载,我可以在debug中浏览内容。我担心是其他原因导致您的文件找不到异常。
发布于 2016-07-02 23:08:48
在WP8.1 (或WinRT)中不支持dday.ical,因此无法加载DLL。
https://stackoverflow.com/questions/25286891
复制相似问题