|
I wanted to use slingshot and for some reason it would load (and it doesn’t work with VS 2003 anyway). Then, I noticed that the solution might be the way to go.
I added a simple solution task to my build system
<?xml version="1.0"?> <project name="App" default="build">
<property name="debug" value="true"/> <property name="build.basedir" value="Build" />
<target name="build"> <solution configuration="debug" solutionfile="source/App.sln"/> </target>
</project>
The first time I was getting a 403 error (the web project is a virtual directory which points back inside my source directory).
Fixed that by adding a checkbox to every permission available inside that directory. Then I ran the script again and got
Nant –debug
….
http://localhost/AppWeb/FixedTermLoan/Product.aspx.vb http://localhost/AppWeb/FixedTermLoan/Product.aspx.resx [solution] Building APP [debug]... [solution] Copying references: [solution] - System [solution] - System.Data [solution] - Microsoft.ApplicationBlocks.Data [copy] Copying 0 files to C:\Projects\App-dev\Latest\source\L ibrary\APP\bin\. [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 startIn fo) at System.Diagnostics.Process.Start() at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) at NAnt.VSNet.Tasks.Project.Compile(String strConfiguration, ArrayList alCSCA rguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands) at NAnt.VSNet.Tasks.Solution.Compile(String strConfiguration, ArrayList alCSC Arguments, 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].
I’m using the latest snapshot available 20030621 (as the CVS source available from anonymous don’t want to build. I’ll send another report for that.)
I wish I knew more what the problem was, since it seems I won’t be able to use nant until this is fixed…
Philippe Lavoie
Cactus Commerce eBusiness. All Business. Tel 819.778.0313 x302 • 888.CACTUS.0 • Fax 819.771.0921 www.cactuscommerce.com [EMAIL PROTECTED]
|
- Re: [nant-dev] Bug in solution task with a web project Philippe Lavoie
- Re: [nant-dev] Bug in solution task with a web proj... Matthew Mastracci
- RE: [nant-dev] Bug in solution task with a web proj... Philippe Lavoie
- Re: [nant-dev] Bug in solution task with a web ... Matthew Mastracci
- Re: [nant-dev] Bug in solution task with a ... Matthew Mastracci
- RE: [nant-dev] Bug in solution task with a web proj... Philippe Lavoie
