Microsoft KB Archive/928968

= 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 =

Article ID: 928968

Article Last Modified on 12/13/2006

-

APPLIES TO


 * Microsoft Visual Studio 2005 Team Edition for Database Professionals

-



SYMPTOMS
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 ' ' was not a valid path to a database project file

Error message 2

Data Generation skipped. Path ' ' was not a valid path to a data generation plan file



WORKAROUND
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:  \Sources\\TeamBuild.app.config&quot;/> 

 '%(BuildDirectoryPath)%\\Binaries\Realease\.dll.config')&quot; />  Note  represents the name of the build type. represents the name of the project. represents the name of the team project. </ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
For more information about database unit tests, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/library/aa833233(VS.80).aspx

Keywords: kbbug kbpubtypekc kberrmsg kbtshoot kbprb KB928968

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.