Ah, I replied directly to Gert instead of to the list. Here's what I found:
"Aha! that pointed me in the right direction, I got a similar "File
exists" error. Checking my Temp folder, it turns out I had 65825 files
in there, including tmp.tmp through tmpFFFF.tmp, which I assume it was
looking for. After cleaning that out, things work fine. Shame on me
for not keeping in eye on that (although I'm wondering what went so
hog-wild creating temp files - I didnt think to check the date to see
if I had some runaway app)."

The problem led me to a deeper issue, using sn.exe to sign an assembly
creates a tmp*.tmp file that's not cleaned up (I've not tried using
NantContrib's delay-sign task). This is a very Bad Thing(tm).

On Feb 12, 2008 4:45 PM, Bevan Arps <[EMAIL PROTECTED]> wrote:
> Hi Chris.
>
> FWIW, I've seen similar problems in the past and found them to be
> environmental.
>
> Some things to check ...
>
> ... Look at the environment variable "TEMP". Does the directory exist?
> Can you create files there?
> [Why? If applications can't create temporary files they can fail in
> strange ways]
>
> ... Look at the enviornment variable "PATH". Has it been truncated? Are
> some directories listed multiple times?
> [Why? The path is still used for loading DLL files. If truncated
> (there's a character # limit), a key system directory may no longer be
> searched. I've found some installers/uninstallers have a habit of
> duplicating PATH entries.]
>
> ... List the directory C:\. How many files are in the root of your
> partition? Try (carefully!) removing any junk files?
> [Why? There are limits to how many files can be created in the root of a
> drive, if all available directory entries are full you can have
> weirdness.]
>
>
> Hope this helps,
> Bevan.
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Chris
> Weiss
> Sent: Saturday, 9 February 2008 9:54 a.m.
> To: nant-users@lists.sourceforge.net
>
> Subject: [NAnt-users] Builds suddenly failing: "runtime framework
> 'net-2.0'is not correctly configured"
>
> 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
>



-- 
-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