I've been editing a NANT file that does delay-signing and then creates
policy files. After running the file, NANT suddenly started throwing
the following errors, regardless of what build file I feed it (even a
simple "hello world" build file fails).

C:>\nant -f:test.build -debug
(numerous loadtasks snipped)
[loadtasks] Adding task 'xmlpoke' from
c:\nant\bin\NAnt.Core.dll:NAnt.Core.Tasks.XmlPokeTask
Framework 'net-1.0' is invalid and has not been loaded : The file exists.
.
System.IO.IOException: The file exists.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.__Error.WinIOError()
   at System.IO.Path.GetTempFileName()
   at NAnt.Core.ProjectSettingsLoader.ProcessFrameworks(XmlNode platformNode)

Framework 'net-1.1' is invalid and has not been loaded : The file exists.
.
System.IO.IOException: The file exists.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.__Error.WinIOError()
   at System.IO.Path.GetTempFileName()
   at NAnt.Core.ProjectSettingsLoader.ProcessFrameworks(XmlNode platformNode)


BUILD FAILED

The current runtime framework 'net-2.0' is not correctly configured in
the NAnt configuration file.
    The file exists.


Stacktrace:

The current runtime framework 'net-2.0' is not correctly configured in
the NAnt configuration file.:
NAnt.Core.BuildException: The current runtime framework 'net-2.0' is
not correctly configured in the NAnt configuration file. --->
System.IO.IOException: The fi
le exists.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.__Error.WinIOError()
   at System.IO.Path.GetTempFileName()
   at NAnt.Core.ProjectSettingsLoader.ProcessFrameworks(XmlNode platformNode)
   --- End of inner exception stack trace ---
   at NAnt.Core.ProjectSettingsLoader.ProcessFrameworks(XmlNode platformNode)
   at NAnt.Core.ProjectSettingsLoader.ProcessPlatform(XmlNode platformNode)
   at NAnt.Core.ProjectSettingsLoader.ProcessSettings()
   at NAnt.Core.Project.CtorHelper(XmlDocument doc, Level threshold,
Int32 indentLevel, Optimizations optimization)
   at NAnt.Core.Project..ctor(String uriOrFilePath, Level threshold,
Int32 indentLevel)
   at NAnt.Core.ConsoleDriver.Main(String[] args)

I've no clue what files it thinks exists. I diff'd my nant folder with
a working nant folder on another machine and there's no extraneous
files and no changes to the config files.

Anyone have any ideas where to look? It doesn't appear that .Net is
corrupted on my machine (nothing else is floundering, that I can
tell).


-- 
-Chris

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to