You may receive error messages when you build a team project that contains a database unit test in Visual Studio 2005 Team Edition for Database Professionals
This article has been archived. It is offered "as is" and will no longer be updated.
Consider the following scenario. You have a database project in Microsoft Visual Studio 2005 Team Edition for Database Professionals. You add a data generation plan to the database project. You add a test project with a database unit test to the database project solution. You add the database solution to a team project on Microsoft Visual Studio 2005 Team Foundation Server. You create a team build for the team project. You execute the team build. In this scenario, you may receive the following error messages during the build process:
Error message 1
Database deployment skipped. Path 'ProjectPath' was not a valid path to a database project file
Error message 2
Data Generation skipped. Path 'DataGenerationPlanPath' was not a valid path to a data generation plan file
To work around this problem, follow these steps:
- In Team Explorer, expand Team Builds, right-click the build type that you want to modify, and then click View Team Build Type.
- In the Project tag, add the following tags:Note <BuildTypeName> represents the name of the build type. <ProjectName> represents the name of the project. <TeamProjectName> represents the name of the team project.
<ItemGroup> <TestProject1TeamBuildConfigFile Include="$(BuildDirectoryPath)\<BuildTypeName>\Sources\<ProjectName>\TeamBuild.app.config"/> </ItemGroup><Target Name="CopyFiles"> <Copy SourceFiles="@(TestProject1TeamBuildConfigFile)" DestinationFiles="@(TestProject1TeamBuildConfigFile->'%(BuildDirectoryPath)%\<BuildTypeName>\Binaries\Realease\<TeamProjectName>.dll.config')" /></Target>
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about database unit tests, visit the following Microsoft Developer Network (MSDN) Web site:
Article ID: 928968 - Last Review: 12/09/2015 08:30:21 - Revision: 1.0
Microsoft Visual Studio 2005 Team Edition for Database Professionals
- kbnosurvey kbarchive kbbug kbpubtypekc kberrmsg kbtshoot kbprb KB928968