Bugs item #3048200, was opened at 2010-08-18 23:13
Message generated for change (Comment added) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=3048200&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: 0.91-alpha2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Rainer Schuster ()
Assigned to: Nobody/Anonymous (nobody)
Summary: NAnt 0.91 Aplha 2 crashes on startup

Initial Comment:
I'm running nant on windows 7 x64 and getting the following exception (german). 
nant crashes in user mode and with elavated rights in admin mode.

Unbehandelte Ausnahme: System.TypeInitializationException: Der 
Typeninitialisierer für "NAnt.Console.ConsoleStub" hat ei
ne Ausnahme verursacht. ---> System.Security.SecurityException: Fehler bei der 
Anforderung des Berechtigungstyps "System
.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, 
Culture=neutral, PublicKeyToken=b77a5c561934e089".
   bei System.Security.CodeAccessSecurityEngine.Check(Object demand, 
StackCrawlMark& stackMark, Boolean isPermSet)
   bei System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, 
StackCrawlMark& stackMark)
   bei System.Security.CodeAccessPermission.Demand()
   bei System.AppDomainSetup.VerifyDir(String dir, Boolean normalize)
   bei System.AppDomain.get_BaseDirectory()
   bei log4net.Config.XmlConfiguratorAttribute.Configure(Assembly 
sourceAssembly, ILoggerRepository targetRepository)
   bei log4net.Core.DefaultRepositorySelector.ConfigureRepository(Assembly 
assembly, ILoggerRepository repository)
   bei log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly 
repositoryAssembly, Type repositoryType, String
repositoryName, Boolean readAssemblyAttributes)
   bei log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly 
repositoryAssembly, Type repositoryType)
   bei log4net.Core.DefaultRepositorySelector.GetRepository(Assembly 
repositoryAssembly)
   bei log4net.Core.LoggerManager.GetLogger(Assembly repositoryAssembly, String 
name)
   bei log4net.LogManager.GetLogger(Assembly repositoryAssembly, String name)
   bei log4net.LogManager.GetLogger(Type type)
   bei NAnt.Console.ConsoleStub..cctor()
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei NAnt.Console.ConsoleStub.Main(String[] args)

----------------------------------------------------------------------

>Comment By: Rainer Schuster ()
Date: 2010-08-21 12:15

Message:
no, copying the files didn't fix it. Win7 includes 3.5. I've got 4.0 client
and extended installed, along with the 7 SDK and the .NET 2.0 SDK. The 0.90
doesn't crash. I'll try debugging it. Are there any hints on how to best
debug nant.

----------------------------------------------------------------------

Comment By: Ryan Boggs (rmboggs)
Date: 2010-08-20 22:02

Message:
Just out of curiosity, what versions of .NET do you have installed?

----------------------------------------------------------------------

Comment By: Ryan Boggs (rmboggs)
Date: 2010-08-19 21:57

Message:
Are you saying that copying the libs from bin\lib\net\1.0 to
bin\lib\net\4.0 fixed the issue?  

----------------------------------------------------------------------

Comment By: Rainer Schuster ()
Date: 2010-08-19 20:04

Message:
I tried to compile the current Boo master. But it's not neccessary to crash
nant. I just started the exe without a build file. I copied the libs from
bin\lib\net\1.0 over to bin\lib\net\4.0 just to have them in place.
anything else is quite standard. 

----------------------------------------------------------------------

Comment By: Ryan Boggs (rmboggs)
Date: 2010-08-19 00:05

Message:
Can you please send the file that you are trying to build (or a simplified
build file if it contains sensitive information)?  

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=3048200&group_id=31650

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to