Title: Message
Scott,
    I wasn't able to build the nant project either. I went and deleted every trace I could find of NAnt on my machine, rebooted, redownloaded 0.8.3, got that extracted, and now it all works. Something must have been corrupted somewhere(I have no clue what or where), but now it's running great.
 
    On a side note, I've improved(in my mind) the IfTask to be able to check for the existence of a file or directory. Do you know how I would go about contributing that to the project, or if there's even a need for it?
 
Thanks,
Jarrod
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Hernandez
Sent: Tuesday, November 18, 2003 2:48 PM
To: Jarrod Moore; [EMAIL PROTECTED]
Subject: Re: [Nant-users] nant -help throws ConfigurationException

Very interesting. Do you run any other .net apps on your work machine? Is you work machine managed by an admin that may have placed special restrictions on .net apps through the .net machine config? Can you (re)build nant on your work machine? Is there anymore of a stack trace available?
 
What .net code (security) group does nant run in? (NAnt needs to run with Full Trust, because of the use of reflection for creating tasks).
 
In short, I think we need more info to diagnose this problem... :)
 
 
----- Original Message -----
Sent: Tuesday, November 18, 2003 1:29 PM
Subject: [Nant-users] nant -help throws ConfigurationException

I'm having some big issues with NAnt. Whenever I try to build a file from the command prompt, or open up the help options, I get the following error:
 
An unhandled exception of type 'System.Configuration.ConfigurationException' occurred in system.dll
 
Additional information: Error loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config Request for the permission of type System.Security.Permissions.StrongNameIdentityPermission, mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
 
The interesting part is that I have NAntMenu installed, and when I right click on some files and build that way, the builds will(sometimes) complete. I don't understand this because on my machine at home NAnt works perfectly everytime, but here at work, the failures are impeding acceptance. The NAnt executable and supporting assemblies are located in C:\Program Files\NAnt\, and everything I'm trying to build resides on the C drive, so I do not believe this is tied to the networking trust issues most people have posted as being the cause of the problem.
 
Any insight or help anyone can give would be most appreciated.
 
Thanks,
Jarrod

Reply via email to