I started getting errors trying to run my build file today... I thought it might have something to do with re-installing VS.Net 2003, but other build files have worked since the re-install...
When I ran the build file directly and it worked fine, I looked at my bootstrap batch file. Turns out I was using the TMP environment variable to perform some string manipulation. The line that's failing is Path.GetTempFileName(). Tempting as TMP might be as a throwaway variable, looks like it's not such a great idea when working with .Net... Not even in a setlocal block! Just thought I'd share, -- Troy > BUILD FAILED > > The current runtime framework 'net-1.1' is not correctly configured in the NAnt configuration file. > The directory name is invalid. > > > Stacktrace: > > The current runtime framework 'net-1.1' is not correctly configured in the NAnt configuration file.: > NAnt.Core.BuildException: The current runtime framework 'net-1.1' is not correctly configured in the NAnt configuration file. ---> > System.IO.IOException: The directory name is invalid. > > at System.IO.__Error.WinIOError(Int32 errorCode, String str) > at System.IO.Path.GetTempFileName() > at NAnt.Core.ProjectSettingsLoader.ProcessFrameworks(XmlNode platformNode) in c:\app\NAntNightly\src\NAnt.Core\ProjectSettingsLoader.cs:line 239 > --- End of inner exception stack trace --- > at NAnt.Core.ProjectSettingsLoader.ProcessFrameworks(XmlNode platformNode) in c:\app\NAntNightly\src\NAnt.Core\ProjectSettingsLoader.cs:line 344 > at NAnt.Core.ProjectSettingsLoader.ProcessPlatform(XmlNode platformNode) in c:\app\NAntNightly\src\NAnt.Core\ProjectSettingsLoader.cs:line 162 > at NAnt.Core.ProjectSettingsLoader.ProcessSettings() in c:\app\NAntNightly\src\NAnt.Core\ProjectSettingsLoader.cs:line 127 > at NAnt.Core.Project.CtorHelper(XmlDocument doc, Level threshold, Int32 indentLevel) in c:\app\NAntNightly\src\NAnt.Core\Project.cs:line 1244 > at NAnt.Core.Project..ctor(String uriOrFilePath, Level threshold, Int32 indentLevel) in c:\app\NAntNightly\src\NAnt.Core\Project.cs:line 239 > at NAnt.Core.ConsoleDriver.Main(String[] args) in c:\app\NAntNightly\src\NAnt.Core\ConsoleDriver.cs:line 88 Disclaimer Message: This message contains confidential information and is intended only for the individual(s) named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please immediately delete it and all copies of it from your system, destroy any hard copies of it, and notify the sender. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. To the maximum extent permitted by law, Immersive Technologies Pty. Ltd. does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users