Testing NAnt on Windows 8

Markus Ewald <[email protected]> Wed, 26 Oct 2011 01:18:53 +0200
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <[email protected]>
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!

-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
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users