Home › C# › Fixing Build Errors with Database Unit Test Projects in Visual Studio 2017
And still have problem on build server after that… 😦
LikeLike
Samir, have you had similar issues with Visual Studio 2019? Have you found a solution for it?
Had the similar issue, and following worked for me, sharing if people are still facing this issue:-
had to mark the Specific Version = False for the following References in the TEST project
Microsoft.Data.Tools.Components Microsoft.Data.Tools.Schema.Sql Microsoft.Data.Tools.Schema.Sql.UnitTesting Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll
do not set Specific Version = False for the following reference, not sure why but it breaks the test project, and it stays unloaded unless you fix the property in the project code manually.
hope it helps.
LikeLiked by 1 person
Microsoft.Data.Tools.Schema.Sql.UnitTestingAdapter (leave it as Specific Version = True)
Δ
And still have problem on build server after that… 😦
LikeLike
Samir, have you had similar issues with Visual Studio 2019? Have you found a solution for it?
LikeLike
Had the similar issue, and following worked for me, sharing if people are still facing this issue:-
had to mark the Specific Version = False for the following References in the TEST project
Microsoft.Data.Tools.Components
Microsoft.Data.Tools.Schema.Sql
Microsoft.Data.Tools.Schema.Sql.UnitTesting
Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll
do not set Specific Version = False for the following reference, not sure why but it breaks the test project, and it stays unloaded unless you fix the property in the project code manually.
hope it helps.
LikeLiked by 1 person
Microsoft.Data.Tools.Schema.Sql.UnitTestingAdapter (leave it as Specific Version = True)
LikeLike