mawaldne
mawaldne

Reputation: 3998

Database reference causes warning in MSBuild

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

Upvotes: 2

Views: 1155

Answers (1)

sgriffinusa
sgriffinusa

Reputation: 4221

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.

Upvotes: 5

Related Questions