the solution task expects you to name the target configuration for your
compilation (eg.  debug or release).  i don't know whether there's a
default configuration and you don't happen to have it defined in your
solution.  be specific, like:

  <solution solutionfile="${sln.path}" configuration="debug" />


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Daniel Bron
> Sent: Thursday, December 18, 2003 14:07
> To: Nant (E-mail)
> Subject: [Nant-users] Problem with <solution .. >
> 
> 
> Hello,
> 
> When I try to execute the following target:
> 
>       <target name="build_sln">
>               <echo message="Building solution..." />
>               
>               <property name="sln.path" 
> value="${cfs}\Maple_CFS_Build\CFS\CFS.sln" />
>               <solution solutionfile="${sln.path}" />
>       </target>
> 
> I get the following error:
> 
> build_sln:
> 
>       [echo] Building solution...
>       [solution] Starting solution build.
>       Configuration  does not exist, skipping.
>       Configuration  does not exist, skipping.
>       Total time: 0 seconds.
> 
>       BUILD FAILED
> 
>       INTERNAL ERROR
> 
>       System.Exception: Circular dependency detected
>          at NAnt.VSNet.Tasks.Solution.Compile(String 
> strConfiguration, ArrayList alCSCArguments, String 
> strLogFile, Boolean bVerbose, Boolean
> bShowCommands)
>          at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
>          at NAnt.Core.Task.Execute()
>          at NAnt.Core.Target.Execute()
>          at NAnt.Core.Project.Execute(String targetName)
>          at NAnt.Core.Tasks.CallTask.ExecuteTask()
>          at NAnt.Core.Task.Execute()
>          at NAnt.Core.Target.Execute()
>          at NAnt.Core.Project.Execute(String targetName)
>          at NAnt.Core.Project.Execute()
>          at NAnt.Core.Project.Run()
> 
>       Please send bug report to [EMAIL PROTECTED]
> 
> Does anyone know why?  When I point Visual Studio at this 
> solution file and hit "rebuild", it compiles without errors.
> 
> -Dan
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign 
> up for IBM's Free Linux Tutorials.  Learn everything from the 
> bash shell to sys admin. Click now! 
> http://ads.osdn.com/?ad_id=1278&alloc_id=3371> &op=click
> 
> _______________________________________________
> 
> Nant-users mailing list
> [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/n> ant-users
> 



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to