I am attempting to use nant with Visual Studio 2003 and am having disastrous
results.
Does nant 0.8.3 work at all with Visual Studio 2003?

The error I am getting is:

============================================================================
======
NAnt version 0.8.3 Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///x:xxx.build [Need to conceal actual path name due to
current internal project status]
init-Debug:

init:

   [tstamp] Friday, October 24, 2003 5:25:34 PM.

compile:

 [solution] Starting solution build.
Total time: 0 seconds.

BUILD FAILED

INTERNAL ERROR

System.IO.DirectoryNotFoundException: Could not find a part of the path
"C:\DOCU
ME~1\ththomas\LOCALS~1\Temp\9rzsshgh".
   at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.Directory.DeleteHelper(String fullPath, String userPath,
Boolean
 recursive)
   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean
recur
sive)
   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 have no idea what is going on here.  Enclosed is the build file I am
using.  It is quite simple.
This is a "prototype" build file that I am developing for all our
developers.  However, since I cannot
get even the simplest operations to work in nant our usage of this tool is
in severe jeopardy.
I have tried this both from a standard command prompt window and also from
the Visual Studio .NET
command prompt window.  I get the same results.

HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

============================================================================
========================
<?xml version="1.0" encoding="utf-8"?>

<project default="compile" name="Logging">
  <property name="debug" value="true" />
  <property name="project.name"  value="$(nant.project.name).csproj" />
  
  <target name="init" description="Initialize properties for the build"
depends="init-Debug,init-Release">
    <tstamp />
  </target>

  <target name="init-Debug" if="${debug}">
    <property name="project.config" value="Debug" />
  </target>

  <target name="init-Release" unless="${debug}">
    <property name="project.config" value="Release" />
  </target>

  <target name="compile" description="Compile project" depends="init">
    <solution configuration="$(project.config)">
      <projects>
        <includes name="$(project.name)" />
      </projects>
    </solution>
  </target>

  <target name="install" description="Install targets" depends="compile">
  </target>

  <target name="clean" depends="init" description="Delete compiled targets">
  </target>

</project>
============================================================================
=============================

Tim Thomas


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to