Re: Help with exception
Ryan Boggs <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nant.user |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> wrote: > Unlocking the zip file did the trick, even unpacking it in C:\Program Files\NAnt. Thanks all! > > > > -chris > > > > From: Daniel Nauck [mailto:[email protected]] > Sent: Tuesday, May 03, 2011 1:33 PM > To: Chris Fouts > Cc: [email protected] > 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 > [email protected] > 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 > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/nant-users