Exception: could not load file or assembly system.data.datasetextensions version 3.5.0.0
When copying an application from a Wndows 7 developer machine to a XP test server i stumbled upon an error message similar to:
could not load file or assembly system.data.datasetextensions version 3.5.0.0
To make a long story short it turned out that the System.Data.DataSetExtenstions.dll was missing.
Dotnet is found in different places in different OSes so instead of searching I opened the project in Visual studio, found the reference to the file and looked at the reference’s properties. There was the exact path. Copied the file to the target machine’s application’s folder and it worked.
This solution, copying the DLL to the application’s folder, is not really recommended since the update system of Dotnet does not work any more. It is better to find the correct place to put it.
I don’t know why this very DLL was missing from the target machine.