Using the 32-bit CMD window on Win 7 x64, I am attempting to build Boo,
which is made to build on Nant. Nant.exe is marked to always run as
Administrator.
I get the following error message:
Unhandled Exception: System.TypeInitializationException: The type
initializer fo
r 'NAnt.Console.ConsoleStub' threw an exception. --->
System.Security.SecurityEx
ception: Request for the permission of type
'System.Security.Permissions.FileIOP
ermission, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c5619
34e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand,
StackCrawlMa
rk& stackMark, Boolean isPermSet)
at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission
cap, S
tackCrawlMark& stackMark)
at System.Security.CodeAccessPermission.Demand()
at System.AppDomainSetup.VerifyDir(String dir, Boolean normalize)
at System.AppDomain.get_BaseDirectory()
at log4net.Config.XmlConfiguratorAttribute.Configure(Assembly
sourceAssembly,
ILoggerRepository targetRepository)
at log4net.Core.DefaultRepositorySelector.ConfigureRepository(Assembly
assemb
ly, ILoggerRepository repository)
at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly
repositor
yAssembly, Type repositoryType, String repositoryName, Boolean
readAssemblyAttri
butes)
at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly
repositor
yAssembly, Type repositoryType)
at log4net.Core.DefaultRepositorySelector.GetRepository(Assembly
repositoryAs
sembly)
at log4net.Core.LoggerManager.GetLogger(Assembly repositoryAssembly,
String n
ame)
at log4net.LogManager.GetLogger(Assembly repositoryAssembly, String name)
at log4net.LogManager.GetLogger(Type type)
at NAnt.Console.ConsoleStub..cctor()
Any help appreciated,
Hank Fay
--- End of inner exception stack trace ---
at NAnt.Console.ConsoleStub.Main(String[] args)
System.TypeInitializationException was unhandled
Message: The type initializer for 'NAnt.Console.ConsoleStub' threw an
exception.
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users