System.IO.FileNotFoundException When Using WebGrabber

Running a .NET application targeted to the .NET 3.5 Framework with only the .NET 4.0 Framework installed on the system results in the error: "System.IO.FileNotFoundException: Could not load file or assembly 'System.ServiceModel, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'"

Probable Cause

This error is due to the .NET Framework attempting to locate a system file that does not exist when only the .NET 4.0 Framework is installed and the application is targeted to the .NET 3.5 Framework. Further explanation can be found here:


Until this issue is resolved, use one of the following workarounds: