-
How to include System.Core.dll (.net 3.5) to a .net 2.0 application
My project is in .net framwork 2.0 and i want to use TimezoneInfo class.
When i use the below line..it is giving an error like " Type TimezoneInfo is not defined"
Dim zones As ReadOnlyCollection(Of TimeZoneInfo) = TimeZoneInfo.GetSystemTimeZones()
Actually my requirement is to get all the timezones and functions for getting time by timezoneId.
How can i use the TimezoneInfo class in .Net 2.0 Application
Thank you,
Dilip.
-
Technically this is not possible, yet. With .NET you can only load one version of the framework into an app domain so, since your application is based on 2.0 you would not be able to reference and use the 3.5 assemblies as well. Now, 3.5 is based on 2.0 so you should be able to recompile your application as a 3.5 application and it should work without any major issues. There may be small changes needed, but even that is unlikely.
Similar Threads
-
By jabbarsb in forum ASP.NET
Replies: 1
Last Post: 11-15-2006, 09:51 AM
-
Replies: 1
Last Post: 05-13-2005, 06:46 AM
-
By Vikas Garg in forum Careers
Replies: 18
Last Post: 07-13-2002, 11:58 AM
-
By Seth Grossman [MSFT] in forum vb.announcements
Replies: 1
Last Post: 03-13-2002, 07:32 PM
-
By Blair Dillaway in forum Security
Replies: 2
Last Post: 11-18-2000, 01:02 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks