Hi, On Tue, Oct 25, 2011 at 4:18 PM, Markus Ewald <cy...@nuclex.org> wrote: > Hi! > > I'm just playing with the Windows 8 Developer Preview and of course, I > installed NAnt, too. > > I downloaded NAnt as .zip archive (which means it gets the "mark of the > web"), moved it to my Program Files directory and tried to launch it. Result > was the probably by now well-known security exception: > > Unhandled Exception: System.Security.SecurityException: Request for > ConfigurationPermission failed while attempting to access configuration > section 'nant'. To allow all callers to access the data for this section, > set section attribute 'requirePermission' equal 'false' in the configuration > file where this section is declared. ---> System.Security.SecurityException: > Request for the permission of type > 'System.Configuration.ConfigurationPermission, System.Configuration, > Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed. > > Checking the properties of NAnt.exe, I clicked 'Unblock'. Error still > occurred. Opened properties again - the 'Unblock' button was still there. It > appears I cannot unblock and I'm not being given an error message. > > Well, long story short, I had to extract NAnt to a network share (hosted on > a Linux system - try putting hidden stream on that, Windows!) and back to > get rid of the "mark of the web". > > Works splendid now! This bit of information is most welcome. Thank you for taking the time to try NAnt out on Win8 Preview.
Makes me wonder the best method of distributing NAnt in the future. The way Windows is treating downloaded zip files lately has been much of a pain. Should we look into installers for NAnt/NAntContrib? Now is the time to think about these things. Thanks, Ryan > > -Markus- > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning@Cisco Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > NAnt-users mailing list > NAnt-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-users > > ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users