My best guess would be that the compiler csc.exe or vbc.exe cannot be
found. Make sure that the framework (1.0 or 1.1 depending on your
project) is in your path.

Sincerely,


Carlo Poli
Macaw

-----Original Message-----
From: Paul Welter [mailto:[EMAIL PROTECTED] 
Sent: maandag 23 juni 2003 20:26
To: [EMAIL PROTECTED]
Subject: [Nant-users] help with the solution task

I need some help with the solution task.  When I run the build, I get a
"The
system cannot find the file specified" error.  I'm not sure what I'm
doing
wrong as it doesn't tell me what file it can't find.  What do I have to
have
in the path?  Could I be missing something in my path?



The log file .



Buildfile: file:///D:/My Documents/Visual Studio
Projects/BuildDemo/demo.build

Base Directory: D:\My Documents\Visual Studio Projects\BuildDemo.



build:



 [solution] Starting solution build.

 [solution] Included projects:

 [solution] Reference projects:

 [solution] Building Build.Core [debug]...

 [solution] Copying references:

 [solution]  - System

 [solution]  - System.Data

 [solution]  - System.XML

 [solution] Compiling resources:

 [solution] Starting compiler...

Total time: 0 seconds.



BUILD FAILED



INTERNAL ERROR



System.ComponentModel.Win32Exception: The system cannot find the file
specified

   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo
startInfo)

   at System.Diagnostics.Process.Start()

   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

   at NAnt.VSNet.Tasks.Project.Compile(String strConfiguration,
ArrayList
alCSCArguments, String strLogFile, Boolean bVerbose, Boolean
bShowCommands)

   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.Project.Execute()

   at NAnt.Core.Project.Run()



Please send bug report to [EMAIL PROTECTED]



My build file .



<?xml version="1.0"?>

<project name="Simple" default="build">



            <!-- compile -->

            <target name="build" description="compiles the source code">

                        <solution solutionfile="BuildDemo.sln"
configuration="debug"/>

            </target>



            <!-- run the unit tests -->

            <target name="test" depends="build">

                        <nunit2>

                                    <test
assemblyname=".\Build.Tests\bin\Debug\Build.Tests.dll" />

                        </nunit2>

            </target>

</project>



thanks for your help



~ Paul







-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to