According to the error message, your dbp file is in the src directory, but your exclude is from the Database directory.

 

Try changing

 

<includes name="${build.src.solution.path}\Database\Database.dbp" />

 

to

 

<includes name="${build.src.solution.path}\src\Database.dbp" />

 

or

 

<includes name="${build.src.solution.path}\**\*.dbp" />

 

to exclude every database project.

 

-k

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Austin
Sent: Wednesday, April 14, 2004 7:07 PM
To: [EMAIL PROTECTED]
Subject: [Nant-users] <solution> task and VS.Net database projects

 

To anyone that can help:

 

I added a Database Project to my solution and now I have a broken build.  I get the following error:

 

Error checking whether 'c:\builds\myProject\src\Database.dbp' is an enterprise template project.
    The data at the root level is invalid. Line 1, position 1.

 

I changed the <solution> task to try and exclude the project from the build with the following:

 

<solution solutionfile="${build.src.solution.path}\PortalSolution.sln" configuration="${project.config}">
<excludeprojects>
<includes name="${build.src.solution.path}\Database\Database.dbp" />
</excludeprojects>
<assemblyfolders>
<fileset basedir="${build.src.solution.path}\References">
<includes name="./**"/>
</fileset>
</assemblyfolders>
<webmap>
<map url="" path="${build.webPath}\Portal.csproj" />
</webmap>
</solution>

Thanks for any insight.

 

-Chris

 

Reply via email to