I had to make a very minor edit to the source code of a program written using vs 2003 or 2005, not sure which. The machine on which it must run has .net framework 2.0 and no higher. So, using my vs2008, I tried to compile it to 2.0. I got 102 errors, all caused by system.data.datasetextensions.dll missing. Evidently this dll is only available in 3.5?
The program runs against an important sql server database on the client's server. I don't think that the client will want to upgrade to 3.5 from net 2.0, since they don't want any issues.
I did run the 3.5 executable on the clients machine. It did open the database using an oledbconnection. However, it errored out later, I think while trying to open an oledbadapter to run a crystal report. The error message was "System.IO.FileNotFoundException: Could not load file or assembly
'System.Data.DataSetExtensions, Version=184.108.40.206, Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system
cannot find the file specified. "
All the references in my compilable 3.5 project are to 2.0 with the exception of system.data.datasetextensions.dll; that is evidently causing all the problems on the clients machine. Would it be possible and SAFE to simply copy this 3.5 dll to their machine? Or must I try to get the program to compile on my machine to 2.0 by fiddling around more with the source code? I would try to compile it on a vs2005 or 2003 machine but not sure I can find one...