TimeZoneInfo class in C++.net
-
Hello, I have used timezoneinfo class in C# and until i know it is part of .net libraries. But I am not able to use it under c++. It returns with error "class not found". Does anybody have any idea about this? Regards, Parth
-
Hello, I have used timezoneinfo class in C# and until i know it is part of .net libraries. But I am not able to use it under c++. It returns with error "class not found". Does anybody have any idea about this? Regards, Parth
TimeZoneInfo
is a new class added in .NET 3.5. So probably the project don't have correct references. Try the following 1 - Right click on project and take properties 2 - Navigate to Common Properties - Framework and references 3 - Check the version ofSystem.Core
referenced. It should be 3.5. If it is not 3.5 or not added, use Add Reference to add it. Now you will have access toTimeZoneInfo
. :)Navaneeth How to use google | Ask smart questions
-
TimeZoneInfo
is a new class added in .NET 3.5. So probably the project don't have correct references. Try the following 1 - Right click on project and take properties 2 - Navigate to Common Properties - Framework and references 3 - Check the version ofSystem.Core
referenced. It should be 3.5. If it is not 3.5 or not added, use Add Reference to add it. Now you will have access toTimeZoneInfo
. :)Navaneeth How to use google | Ask smart questions
That worked. Thanks, Parth