MSBuild 4 fails to build VS2008 csproj due to 1 compiler warning

Posted by David White on Stack Overflow See other posts from Stack Overflow or by David White
Published on 2010-04-22T23:02:09Z Indexed on 2010/04/22 23:03 UTC
Read the original article Hit count: 510

We have a VS2008 CS DLL project targeting .NET 3.5. It builds successfully on our CI server when using MSBuild 3.5.

When CI is upgraded to use MSBuild 4.0, the same project fails to build, due to 1 warning message:

c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(1418,9): warning MSB3283: Cannot find wrapper assembly for type library "ADODB".

The warning does not occur with MSBuild 3.5, and I'm surprised that it results in Build FAILED. We do not have the project set to treat warnings as errors.

All our other projects build successfully with either version of MSBuild.

© Stack Overflow or respective owner

Related posts about msbuild

Related posts about .net-4.0