|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
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.
|
![]() |
| Bookmarks |
| Tags |
| asp.net, dll |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| .net 2.0 problem | jabbarsb | ASP.NET | 1 | 11-15-2006 10:51 AM |
| Java vs. .Net. A questionnaire | Basil | .NET | 1 | 05-13-2005 07:46 AM |
| C# & .NET | Vikas Garg | Careers | 18 | 07-13-2002 12:58 PM |
| YAG's public status report - March 7, 2002 | Seth Grossman [MSFT] | vb.announcements | 1 | 03-13-2002 08:32 PM |
| Microsoft .NET security | Blair Dillaway | Security | 2 | 11-18-2000 02:02 PM |