Hi Bob,

I'm also facing a similar problem. My project skips some files and then
raises an error saying "Solution Configuration Release is not present for
this<the skipped one> project".

I checked the scenario you mentioned, and the DLL that is being skipped is
with the later date than the others in the project.

Could you give me some idea, how to resolve this?

Thanks
Nikhil


On 12/8/06, Bob Archer <[EMAIL PROTECTED]> wrote:

 Are you deleting all the OBJ/Bin folders/files of those projects first?
If there is an existing DLL/EXE with a later date than all of the source
then the project/solution will be skipped.



BOb




 ------------------------------

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Sabahat Adil
*Sent:* Friday, December 08, 2006 4:35 AM
*To:* nant-users@lists.sourceforge.net
*Subject:* [NAnt-users] [solution] Skipping [Release]



Hi

I have a project 'Testweb'.In this one
more project i add i.e 'Web'and i add
one project reference.My nant script is
skiping the release of Testweb and web
project.In Release location bin folder
is missing.Please help.
-------------------------------------------------------
Part Of Output
build:



 [solution] Starting solution build.
 [solution] Skipping 'testweb' [Release] ...
 [solution] Skipping 'web' [Release] ...
--------------------------------------------------------

My Build script is ad follows:



<?xml version="1.0"?>
<project name="testweb" default="production" basedir="..">
<description>TestWeb NANT build script</description>
<property name="build.server.dir" value="..." />
<property name="src.dir" value="testweb"/>
<target name="build">
<solution configuration="Release"
outputdir="C:/Data/Projects/Devl/TestWeb/Release/bin"



solutionfile="${src.dir}\testweb.sln">
<webmap>
<map url="http://localhost/testweb/testweb.vbproj"; path="${src.dir
}\testweb.vbproj"/>
<map url="http://localhost/web/web.vbproj";
path="C:\inetpub\data\web\web.vbproj"/>
</webmap>
<assemblyfolders>
<include name="${build.server.dir}" />
</assemblyfolders>
</solution>
</target>
<target name="produce" description="Copy production files">
 <!-- Copy build results to Production folder -->
<copy todir="C:/Data/Projects/Devl/TestWeb/Release">
     <fileset basedir="${src.dir}">
  <includes name="**.aspx" />
  <includes name="**.ascx" />
  <includes name="**.config" />
  <includes name="**.gif" />
  <includes name="**.jpg" />
  <includes name="**.mdb" />
  <includes name="**.css" />



</fileset>
 </copy>
</target>



<target name="upload">
<exec program="c:\data\projects\devl\testweb\src\testweb\ftp1.bat"/>



   failonerror="false"/>



</target>
<target name="production" depends="build,produce,upload"
     description="Build MyProject and copy production files">
 <!-- Target just refers to corresponding tasks -->
</target>
</project>



Regards
Sabahat



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users





--
Nikhil
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to