views:

33

answers:

1

Hey guys,

In our Sql Server 2008 database project we reference some outside .dbSchema files. When I try to build the database project using MSBuild, I get a weird warning (We are using TFS 2010 for our build server if that makes a difference):

Microsoft.TeamFoundation.Build.targets (1777): An error occurred when opening a file "file.dbschema": Assembly "file.dbschema" is not a valid .NET assembly and will be skipped for analysis.*

Any idea whats going on, and how I get rid of this warning?

Thanks

+1  A: 

Do you have Test Impact Analysis enabled? If you do, it would appear that TFS Build is scanning your code, encountering this file, and letting you know that it is being skipped because it cannot recognize it. Another user encountered a similar issue and a Microsoft Connect ticket was created.

sgriffinusa
Yup, sounds like its related to Test Impact Analysis. I posted a question on that MSDN thread to ask how to turn it off. Thanks for pointing me in the right direction.
mawaldne