Error with LINQ in service setup

Mar 21, 2008 at 7:30 AM
I developed a Windows Service project on VS2008 .NET 3.5 using EL and LINQ.

When I build the ServiceSetup project, the build fails with the following error:
"Unable to find dependency 'MISCROSOFT.PRACTICES.OBJECTBUILDER' (Signature='B03F5F7F11D50A3A' Version='1.0.51206.0' of assembly 'Microsoft.Practices.EnterpriseLibrary.Common.dll'".

This error message appears for all other EL dlls (Data, Logging and ExceptionHandling) in the solution.

The build of the service project itself succeeds. It is just the build of the ServiceSetup project that is failing. Also, when I remove LINQ, the build succeeds. So, it is the combination of EL and LINQ that is causing the problem.

Any ideas on how to fix this?