i concur that <solution> isn't right and that Ian said he'd look into
it.
meanwhile, to get it to work, you need to be able to find csc.exe on the
PATH, wherever it is.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Erv Walter
> Sent: Monday, June 23, 2003 16:02
> To: [EMAIL PROTECTED]
> Subject: RE: [Nant-users] help with the solution task
> 
> 
> Actually, I'll speak up and request that we don't add paths 
> at install. We should strive to be as "xcopy friendly" as 
> possible requiring little to know installation.  It's fine to 
> have an installer to make it easier for newcomers, but we 
> need to allow advanced usage.  For example, at my company, we 
> keep nant executables in our CVS repository along with our 
> source code.  This makes it so that we always have the 
> version of nant that matches our build files and so that all 
> developers have to do is a cvs checkout to have a completely 
> functional development environment with nant ready to go.
> 
> The <solution> task is broken.  It shouldn't need or use the 
> path to find compilers.  It should be looking at the 
> configured framework and using that path just like the rest 
> of the nant tasks do (<csc>, <vbc>, etc).  I think I recall 
> Ian saying he was going to fix this. 
> 
> 
> -----Original Message-----
> From: Paul Welter [mailto:[EMAIL PROTECTED] 
> Sent: Monday, June 23, 2003 2:47 PM
> To: [EMAIL PROTECTED]
> 
> I created a batch file that set the path and it now works.  
> thanks for your help.  what all do I need in the path?  the 
> framework directory and the sdk directory?  anything else?
> 
> To the developers, I suggest creating an installer for NAnt 
> to make it easier for newbies to get started.  The installer 
> could add the needed paths to the environment path.
> 
> thanks again,
> Paul
> 
> PS, love the new solution task, makes life alot easier.
> 
> ----- Original Message -----
> From: "Jean Rajotte" <[EMAIL PROTECTED]>
> To: "'Paul Welter'" <[EMAIL PROTECTED]>; 
> <[EMAIL PROTECTED]>
> Sent: Monday, June 23, 2003 2:11 PM
> Subject: RE: [Nant-users] help with the solution task
> 
> 
> > it's probably choking on finding csc.exe or vbc.exe.  it 
> expects those 
> > on the path.
> >
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Paul 
> > > Welter
> > > Sent: Monday, June 23, 2003 14: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/n> ant-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/n> ant-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/n> ant-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