[NAnt-users] Help with exception
I just installed NAnt on my XP-based company laptop. When I run it I get the following. Any help? I have v0.91-alpah2 (latest from Sourceforge). 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() --- End of inner exception stack trace --- at NAnt.Console.ConsoleStub.Main(String[] args) -chris ***This e-mail message is intended only for the above named recipient(s) and may contain information that is sensitive or proprietary. If you have received this message in error or are not the named recipient(s), please immediately notify the sender, delete this e-mail message without making a copy and do not disclose or relay this e-mail message to anyone.*** -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Help with exception
I have MS .NET framework 4.0 From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, May 03, 2011 12:00 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Help with exception I just installed NAnt on my XP-based company laptop. When I run it I get the following. Any help? I have v0.91-alpah2 (latest from Sourceforge). 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() --- End of inner exception stack trace --- at NAnt.Console.ConsoleStub.Main(String[] args) -chris ***This e-mail message is intended only for the above named recipient(s) and may contain information that is sensitive or proprietary. If you have received this message in error or are not the named recipient(s), please immediately notify the sender, delete this e-mail message without making a copy and do not disclose or relay this e-mail message to anyone.*** -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Help with exception
Known issue unfortunately. It's related to the new security model in .net 4, which I have been unable to reproduce on three different machines. This is the first report that I remember that had this error on XP. It's a company machine/laptop? What rights do you have on that machine? Where did you unzip nant to? What directory? Thanks, Ryan On May 3, 2011, at 9:03 AM, Chris Fouts chris.fo...@caemilusa.com wrote: I have MS .NET framework 4.0 From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, May 03, 2011 12:00 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Help with exception I just installed NAnt on my XP-based company laptop. When I run it I get the following. Any help? I have v0.91-alpah2 (latest from Sourceforge). 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() --- End of inner exception stack trace --- at NAnt.Console.ConsoleStub.Main(String[] args) -chris ***This e-mail message is intended only for the above named recipient(s) and may contain information that is sensitive or proprietary. If you have received this message in error or are not the named recipient(s), please immediately notify the sender, delete this e-mail message without making a copy and do not disclose or relay this e-mail message to anyone.*** -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Help with exception
I have admin rights to the machine. I installed NAnt in C:\Program Files\NAnt\, which means I have the nant-0.91-alpha2 directory under that. Interestingly enough, I can run it with .NET 4.0 in a Windows 7 lab machine, as Administrator. -chris From: Ryan Boggs [mailto:rmbo...@gmail.com] Sent: Tuesday, May 03, 2011 12:27 PM To: Chris Fouts Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Help with exception Known issue unfortunately. It's related to the new security model in .net 4, which I have been unable to reproduce on three different machines. This is the first report that I remember that had this error on XP. It's a company machine/laptop? What rights do you have on that machine? Where did you unzip nant to? What directory? Thanks, Ryan On May 3, 2011, at 9:03 AM, Chris Fouts chris.fo...@caemilusa.commailto:chris.fo...@caemilusa.com wrote: I have MS .NET framework 4.0 From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, May 03, 2011 12:00 PM To: nant-users@lists.sourceforge.netmailto:nant-users@lists.sourceforge.net Subject: [NAnt-users] Help with exception I just installed NAnt on my XP-based company laptop. When I run it I get the following. Any help? I have v0.91-alpah2 (latest from Sourceforge). 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() --- End of inner exception stack trace --- at NAnt.Console.ConsoleStub.Main(String[] args) -chris ***This e-mail message is intended only for the above named recipient(s) and may contain information that is sensitive or proprietary. If you have received this message in error or are not the named recipient(s), please immediately notify the sender, delete this e-mail message without making a copy and do not disclose or relay this e-mail message to anyone.*** -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ NAnt-users mailing list NAnt-users@lists.sourceforge.netmailto:NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Help with exception
See inline... On May 3, 2011, at 9:52 AM, Chris Fouts chris.fo...@caemilusa.com wrote: I have admin rights to the machine. I installed NAnt in C:\Program Files\NAnt\, which means I have the nant-0.91-alpha2 directory under that. Just for grins, can you unzip it to your my documents folder and see if the error still appears. Also, did you make any custom changes after you unZipped the file (ie: enable log4net, add external tasks, etc). Interestingly enough, I can run it with .NET 4.0 in a Windows 7 lab machine, as Administrator. Hence my frustration with this issue these past months. It's difficult to replicate on different machines. Thanks, Ryan -chris From: Ryan Boggs [mailto:rmbo...@gmail.com] Sent: Tuesday, May 03, 2011 12:27 PM To: Chris Fouts Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Help with exception Known issue unfortunately. It's related to the new security model in .net 4, which I have been unable to reproduce on three different machines. This is the first report that I remember that had this error on XP. It's a company machine/laptop? What rights do you have on that machine? Where did you unzip nant to? What directory? Thanks, Ryan On May 3, 2011, at 9:03 AM, Chris Fouts chris.fo...@caemilusa.com wrote: I have MS .NET framework 4.0 From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, May 03, 2011 12:00 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Help with exception I just installed NAnt on my XP-based company laptop. When I run it I get the following. Any help? I have v0.91-alpah2 (latest from Sourceforge). 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() --- End of inner exception stack trace --- at NAnt.Console.ConsoleStub.Main(String[] args) -chris ***This e-mail message is intended only for the above named recipient(s) and may contain information that is sensitive or proprietary. If you have received this message in error or are not the named recipient(s), please immediately notify the sender, delete this e-mail message without making a copy and do not disclose or relay this e-mail message to anyone.*** -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Help with exception
Try to unblock that zip file after download and then unpack it, or unblock every unpacked .dll and .exe file. Daniel Am 03.05.2011 um 17:59 schrieb Chris Fouts: I just installed NAnt on my XP-based company laptop. When I run it I get the following. Any help? I have v0.91-alpah2 (latest from Sourceforge). 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() --- End of inner exception stack trace --- at NAnt.Console.ConsoleStub.Main(String[] args) -chris ***This e-mail message is intended only for the above named recipient(s) and may contain information that is sensitive or proprietary. If you have received this message in error or are not the named recipient(s), please immediately notify the sender, delete this e-mail message without making a copy and do not disclose or relay this e-mail message to anyone.***-- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Help with exception
Unlocking the zip file did the trick, even unpacking it in C:\Program Files\NAnt. Thanks all! -chris From: Daniel Nauck [mailto:daniel.na...@gmail.com] Sent: Tuesday, May 03, 2011 1:33 PM To: Chris Fouts Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Help with exception Try to unblock that zip file after download and then unpack it, or unblock every unpacked .dll and .exe file. Daniel Am 03.05.2011 um 17:59 schrieb Chris Fouts: I just installed NAnt on my XP-based company laptop. When I run it I get the following. Any help? I have v0.91-alpah2 (latest from Sourceforge). 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() --- End of inner exception stack trace --- at NAnt.Console.ConsoleStub.Main(String[] args) -chris ***This e-mail message is intended only for the above named recipient(s) and may contain information that is sensitive or proprietary. If you have received this message in error or are not the named recipient(s), please immediately notify the sender, delete this e-mail message without making a copy and do not disclose or relay this e-mail message to anyone.***-- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ NAnt-users mailing list NAnt-users@lists.sourceforge.netmailto:NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Help with exception
All be darned. It's good to know that this could be an option. However, I have heard reports that this doesn't always work. Thanks, Ryan On May 3, 2011, at 10:52 AM, Chris Fouts chris.fo...@caemilusa.com wrote: Unlocking the zip file did the trick, even unpacking it in C:\Program Files\NAnt. Thanks all! -chris From: Daniel Nauck [mailto:daniel.na...@gmail.com] Sent: Tuesday, May 03, 2011 1:33 PM To: Chris Fouts Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Help with exception Try to unblock that zip file after download and then unpack it, or unblock every unpacked .dll and .exe file. Daniel Am 03.05.2011 um 17:59 schrieb Chris Fouts: I just installed NAnt on my XP-based company laptop. When I run it I get the following. Any help? I have v0.91-alpah2 (latest from Sourceforge). 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() --- End of inner exception stack trace --- at NAnt.Console.ConsoleStub.Main(String[] args) -chris ***This e-mail message is intended only for the above named recipient(s) and may contain information that is sensitive or proprietary. If you have received this message in error or are not the named recipient(s), please immediately notify the sender, delete this e-mail message without making a copy and do not disclose or relay this e-mail message to anyone.***-- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users