Sridhar,

NAnt support for Visual C++ projects is still very limited, although small
improvements have been made very recently.

Can you try today's nightly build of NAnt ?

Gert

----- Original Message -----
From: "sridhar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 30, 2004 5:48 PM
Subject: [nant-dev] Problem with building Visual Studio.NET solution in Nant
0.85 nightly build


> Hi ,
>
> I am trying to build the solution using Nant 0.85
> latest nightly build. I am attaching both the build
> file and the error I got while running it. Please let
> me know what could be the solution.
>
> -------------- Build FIle
> ---------------------------
>
>
> <?xml version="1.0"?>
> <project name="Server" default="build" basedir="." >
> <property name="Solution.Filename"
> value="C:\Projects\Oryx\Server\Server.sln"/>
>
> <property name="Solution.Configuration"
> value="DEBUG"/>
>
> <property name="Build.OutputFolder"
> value="C:\Projects\Build\Output\" />
>
> <target name="clean" description="remove all generated
> files">
>
> <delete>
> <fileset basedir="${Build.OutputFolder}">
> <include name="*.*"/>
> </fileset>
> </delete>
> </target>
>
> <target name="build" description="compiles the source
> code">
> <call target="clean" />
> <solution verbose="true"
> solutionfile="${Solution.Filename}"
> outputdir="${Build.OutputFolder}"
> configuration="${Solution.Configuration}" />
> </target>
>
> </project>
>
> Here is the Error Output....
>
> NAnt 0.85 (Build 0.85.1664.0; net-1.0.win32; nightly;
> 7/22/2004)
> Copyright (C) 2001-2004 Gerry Shaw
> http://nant.sourceforge.net
>
> Buildfile:
> file:///C:/Projects/Oryx/Server/Server.build
> Target(s) specified: build
>
>
> build:
>
>
> clean:
>
>    [delete] Deleting 0 files.
>  [solution] Starting solution build.
>  [solution] Loading projects...
>  [solution] Loading project
>
'C:\Projects\Oryx\Server\..\Interfaces\ResourceManagementInterfaces\Resource
ManagementInterfaces.csproj'.
>  [solution] Loading project
> 'C:\Projects\Oryx\Server\ServerConsole\ServerConsole.csproj'.
>  [solution] Loading project
> 'C:\Projects\Oryx\Server\ServerUtilities\ServerUtilities.csproj'.
>  [solution] Loading project
> 'C:\Projects\Oryx\Server\ServicesTest\ServicesTest.csproj'.
>  [solution] Loading project
>
'C:\Projects\Oryx\Server\ChangeManagementServices\ChangeManagementServices.c
sproj'.
>  [solution] Loading project
>
'C:\Projects\Oryx\Server\..\Interfaces\ServicesInterfaces\ServicesInterfaces
.csproj'.
>  [solution] Loading project
>
'C:\Projects\Oryx\Server\..\ProductLicensing\LicenseManager\LicenseManager.c
sproj'.
>  [solution] Loading project
>
'C:\Projects\Oryx\Server\XPOPersistenceManager\XPOPersistenceService.csproj'
.
>  [solution] Loading project
>
'C:\Projects\Oryx\Server\..\ProductLicensing\Cryptography\Cryptography.cspro
j'.
>  [solution] Loading project
> 'Z:\Server\SatelliteAssemblies\SatelliteAssemblies.vcproj'.
>  [solution] Loading project
>
'C:\Projects\Oryx\Server\..\Interfaces\OryxFieldAttributes\OryxFieldAttribut
es.csproj'.
>  [solution] Loading project
> 'C:\Projects\Oryx\Server\Services\Services.csproj'.
>  [solution] Loading project
> 'C:\Projects\Oryx\Server\Resources\Resources.vcproj'.
>  [solution] Loading project
>
'C:\Projects\Oryx\Server\..\Interfaces\XApplicationInterfaces\XApplicationIn
terfaces.csproj'.
>  [solution] Loading project
>
'C:\Projects\Oryx\Server\ResourceManagementServices\ResourceManagementServic
es.csproj'.
>  [solution] Loading project
>
'C:\Projects\Oryx\Server\..\Interfaces\ApplicationInterfaces\ApplicationInte
rfaces.csproj'.
>  [solution] Loading project
> 'C:\Projects\Oryx\Server\ApplicationServices\ApplicationServices.csproj'.
>  [solution] Loading project
>
'C:\Projects\Oryx\Server\..\WorkFlow\WorkFlowEngineInterfaces\WorkFlowEngine
Interfaces.csproj'.
>  [solution] Loading project
>
'C:\Projects\Oryx\Server\XApplicationServices\XApplicationServices.csproj'.
>  [solution] Loading project
>
'C:\Projects\Oryx\Server\..\WorkFlow\WorkFlowEngine\WorkFlowEngine.csproj'.
>  [solution] Loading project
> 'C:\Projects\Oryx\Server\..\Common\Utilities\Utilities.csproj'.
>  [solution] Loading project
>
'C:\Projects\Oryx\Server\..\Interfaces\ChangeManagementInterfaces\ChangeMana
gementInterfaces.csproj'.
>  [solution] Loading project
> 'C:\Projects\Oryx\Server\OryxService\OryxService.csproj'.
>  [solution] Gathering additional dependencies...
>
> Build failed
>
> INTERNAL ERROR
>
> System.ArgumentNullException: Value cannot be null.
> Parameter name: path2
>    at System.IO.Path.Combine(String path1, String
> path2)
>    at NAnt.VSNet.VcConfiguration.get_OutputPath() in
> C:\Documents and Settings\drieseng\Local
> Settings\Temp\tmp29C4.tmp\src\NAnt.VSNet\VcConfiguration.cs:line
> 161
>    at NAnt.VSNet.ProjectBase.GetOutputPath(String
> configuration) in C:\Documents and
> Settings\drieseng\Local
> Settings\Temp\tmp29C4.tmp\src\NAnt.VSNet\ProjectBase.cs:line
> 173
>    at
> NAnt.VSNet.Solution.GetDependenciesFromProjects() in
> C:\Documents and Settings\drieseng\Local
> Settings\Temp\tmp29C4.tmp\src\NAnt.VSNet\Solution.cs:line
> 589
>    at NAnt.VSNet.Solution..ctor(FileInfo solutionFile,
> ArrayList additionalProjects, ArrayList
> referenceProjects, TempFileCollection tfc,
> SolutionTask solutionTask, WebMapCollection webMaps,
> FileSet excludesProjects, DirectoryInfo outputDir,
> GacCache gacCache, ReferencesResolver refResolver) in
> C:\Documents and Settings\drieseng\Local
> Settings\Temp\tmp29C4.tmp\src\NAnt.VSNet\Solution.cs:line
> 131
>    at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in
> C:\Documents and Settings\drieseng\Local
> Settings\Temp\tmp29C4.tmp\src\NAnt.VSNet\Tasks\SolutionTask.cs:line
> 375
>    at NAnt.Core.Task.Execute() in C:\Documents and
> Settings\drieseng\Local
> Settings\Temp\tmp29C4.tmp\src\NAnt.Core\Task.cs:line
> 177
>    at NAnt.Core.Target.Execute() in C:\Documents and
> Settings\drieseng\Local
> Settings\Temp\tmp29C4.tmp\src\NAnt.Core\Target.cs:line
> 249
>    at NAnt.Core.Project.Execute(String targetName,
> Boolean forceDependencies) in C:\Documents and
> Settings\drieseng\Local
> Settings\Temp\tmp29C4.tmp\src\NAnt.Core\Project.cs:line
> 876
>    at NAnt.Core.Project.Execute() in C:\Documents and
> Settings\drieseng\Local
> Settings\Temp\tmp29C4.tmp\src\NAnt.Core\Project.cs:line
> 833
>    at NAnt.Core.Project.Run() in C:\Documents and
> Settings\drieseng\Local
> Settings\Temp\tmp29C4.tmp\src\NAnt.Core\Project.cs:line
> 903
>
> Please send bug report to
> [EMAIL PROTECTED]
>
> Total time: 0.6 seconds.
>
> Thanks,
> Sridhar!!
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> _______________________________________________
> nant-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
>



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to