How do I resolve configuration errors with Nant 0.91?

后端 未结 3 1391
你的背包
你的背包 2020-12-23 12:58

After downloading Nant 0.91, I\'m getting some rather cryptic configuration errors relating to configuration or security (see below).

I\'m trying to simply upgrade

3条回答
  •  醉酒成梦
    2020-12-23 13:44

    Here's how to unblock all the files recursively after the fact with powershell. Weirdly, unblock-file only checks for the pspath property over the pipe.

    get-childitem -recurse c:\nant-92 | 
    get-item -stream zone.identifier -erroraction silentlycontinue | 
    foreach { $_.pspath = $_.pspath -replace ':zone.identifier'; $_ } | 
    unblock-file
    

    Of course you could do it this way, without knowing which was blocked or not:

    get-childitem -recurse c:\nant-92 | unblock-file
    

提交回复
热议问题