Questions tagged [ical-dotnet]

iCal.NET is an iCalendar (RFC 5545) class library for .NET, formerly known as dday.ical and originally developed by Douglas Day.

iCal.NET is an iCalendar (RFC 5545) class library for .NET aimed at providing RFC 5545 compliance, while providing full compatibility with popular calendaring applications and libraries.

GitHub repository: https://github.com/rianjs/ical.net

21 questions
9
votes
2 answers

Use iCal.Net to Send Meeting Invite for Microsoft Outlook

I am trying to send a meeting invite with C# and am able to get what I want with a manually formatted static string - and here is the screenshot of what I was able to get with the static string public static void SendEmailString() { MailMessage…
Brian
  • 301
  • 3
  • 8
8
votes
1 answer

How do I create an HTML-formatted ICS message body using ical.net?

I need send reminders to users of a web application. To do this I use iCal.Net from nuget packages. Following instructions about the usage I'm able to send an email with an attachment containing the ics file. Is it possible to format the event…
Barax
  • 113
  • 1
  • 1
  • 9
3
votes
0 answers

Ical.net ICS file imported into Outlook is off one hour

Last Fall I replaced the DDay iCal component with iCal.net in a scheduling application. We are in the Central U.S. timezone, and all times in our database are in the local time. Most of our users take the .ics file produced by iCal.net and import…
MDApache6
  • 71
  • 6
2
votes
1 answer

Is it possible to use UTC Offset instead of timezone name on iCal.net?

My application stores the UTC offset on users profile (-03:00, for instance) and as this page from iCal.net Wiki mentions it seems that I can only use the timezone to assign to the event:…
juliano.net
  • 7,982
  • 13
  • 70
  • 164
2
votes
1 answer

Migrating from DDay.Ical.Net to Ical.Net

Hi I am migrating from DDay.ical to Ical.Net nuget pacakages but I get stuck in the following code which add Timezone in DDay.Ical calendar please help Previous code: List lst = objResponse.Appointments; string timeZoneName =…
Tanmay
  • 590
  • 8
  • 20
2
votes
1 answer

Where is the documentation for the Dday Ical library?

The website that used to host it no longer is valid: DDay Software I can't find the documentation anywhere else. Is there another copy of the documentation anywhere?
richard
  • 12,263
  • 23
  • 95
  • 151
1
vote
1 answer

"Error: Could not install package" when Installing iCal.NET from "Manage NuGet Packages" Feature in Visual Studio

I would like to install iCal.NET from "Manage NuGet Packages" feature in Visual Studio 2013. However, I got an error: Error: Could not install package 'System.Reflection.TypeExtensions 4.1.0'. You are trying to install this package into a project…
Yusril Maulidan Raji
  • 1,682
  • 1
  • 21
  • 46
1
vote
1 answer

What's the best way to shrink a calendar to only contain the necessary calendar objects depending on a start and end date

Using iCal.Net. What I'm trying to achieve, is to shrink a calendar to send it over the internet, so I don't have to send the whole calendar, which would be wasteful (considering it can get big) if I'm asked what happens in a single day. We should…
M. Christopher
  • 305
  • 3
  • 14
1
vote
1 answer

Migrating to iCal.net Period - Matches Date Only

I'm trying to simulate the MatchesDateOnly for my recurrence rule "ExcludeDates" which I'm storing as date only values. I want my RRULE to ignore certain date only periods. Previously in DDay we could specify: if…
Graeme
  • 773
  • 1
  • 8
  • 18
1
vote
1 answer

Recurring events with daylight savings time support using ical.net

What's the best way to implement recurring dates which automatically adjust for DST? E.g an event should recur every day at 10am EST even when DST is in effect and should not jump backwards or forwards 1hr. Currently I'm storing dates as UTC, but I…
Graeme
  • 773
  • 1
  • 8
  • 18
1
vote
2 answers

ICal.net Calendar Comparison

I've been using a nuget package called ICal.net to load ics files to check for events that have recently been added. I've noticed while using the IEnumerable Except method for this that some events are missed even though you can see that more events…
Andy
  • 823
  • 5
  • 17
  • 37
1
vote
1 answer

Opening icloud event (created using ical.net) on outlook client shows Free/busy status as "Out off office" instead of busy

Nuget version: Ical.Net 2.2.30 observed behavior: Status sets as OOF expected behavior: Status should set as BUSY BEGIN:VCALENDAR PRODID:-//Apple Inc.//iCal…
Priyank Kotiyal
  • 241
  • 2
  • 13
1
vote
1 answer

Migrating from dday.ical to ical.net: how to use a timezone in Event Period

I am migrating my application from dday.ical to ical.net and am struggling with TimeZones. I managed to rewrite adding the TimeZone from IICalendarCollection calendarCollection = iCalendar.LoadFromUri(new Uri(GoogleCalendarUrl)); IICalendar calendar…
user3235211
0
votes
1 answer

Ical.Net: Event's AsUtc flag is not updating correctly

I am facing this issue in Ical.Net Version=4.0.1.0 and lower, When we get "GMT-0500" in DTSTART/DTEND then it is giving same utc time as local time in AsUtc. But If I replace "GMT-0500" to "Canada/Eastern" manually in ics its giving correct utc time…
Priyank Kotiyal
  • 241
  • 2
  • 13
0
votes
2 answers

Recurring events lose automatic timezone conversion

I'm setting up a calendar invite email using ical.net. Sending out a non-recurring event seems to work perfectly: I set the start and end date like this iCalEvent.DtStart = new CalDateTime(DateTime.SpecifyKind(model.EventTime.Value,…
Andrew
  • 107
  • 10
1
2