Unknown Build Error - Problem with VS2008

Topics: Logging Application Block
Jan 28, 2008 at 8:04 AM

I'm using VS2008 Team Ed. and developing a WPF application. I used to begin delevoping this solution with VS2005 and Expression Blend. But now I changed to VS2008 and had to update the application. I'm using Logging Application Block v3.1 but I'm facing to the following error when building the solution:

Error 1 Unknown build error, 'Cannot resolve dependency to assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.'

Can someone help?

thank you
Jan 28, 2008 at 3:28 PM

Make sure you're referencing the Common and Objectbuilder assemblies in your project.

Jan 30, 2008 at 10:48 AM

Yes OK. it works.. I missed these references - Thank you.