c# - Can I add a reference to System.Core.dll (.net 3.5) to a .net 2.0 application and use it -


Can I add a reference to a .net 2.0 application for System.Core.dll (.net 3.5) and It's

I'm trying to use the TimeZoneInfo class which is only 3.5. Available in, System Corre DLL

Alternatively, Optional for TimeZoneInfo .net 2.0 or an optimized class)

No You should not actually You can install Need 3.5 on the target machine or you will run in unexpected behavior in the ongoing program. . The 3.5 framework, including System.Core.dll, relies on many bug fixes / features which were added in CLR 2.0 SP1 (this is part of the 3.5 framework). If you run against an unpatched CLR, you will essentially run untested code and potentially cause many bugs.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -