TimeZoneInfo - why can't i seem to create an instance of it?

Posted by Kravlin on Stack Overflow See other posts from Stack Overflow or by Kravlin
Published on 2010-05-04T20:12:59Z Indexed on 2010/05/04 20:18 UTC
Read the original article Hit count: 402

I'm trying to use the EWS API to access an Exchange server from a console program i'm writing. I've specified the type of exchange server i'm connecting to but when I try to execute the code i have, it gives me

Error 1 The type 'System.TimeZoneInfo' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. C:\Documents and Settings\jsorensen\My Documents\Visual Studio 2005\Projects\ConsoleApplication2\ConsoleApplication2\Program.cs 26 13 ConsoleApplication2

Does Microsoft Visual Studio Academic Edition not support TimeZoneInfo or is the version of .Net that XP can have not up-to date enough to work with the EWS API? I'm moderately new to programming in C# so some of the stuff is still confusing.

Thanks.

© Stack Overflow or respective owner

Related posts about c#

Related posts about exchange