Nant failing with bad permissions on build server

前端 未结 5 1079
有刺的猬
有刺的猬 2021-02-07 07:58

Total newbie question. I am trying to run a Nant script on a build server (very basic script, not doing anything), and it\'s failing with the error

System

5条回答
  •  失恋的感觉
    2021-02-07 08:17

    My error message mentioned the "Internet Zone". This is probably because I downloaded zipped binaries from SourceForge. I zipped and then unzipped to strip the zone and that worked great for me.

    On Windows 7 (or similar):

    1. Select all files in the NAnt folder
    2. Right click, Send to > Compressed (zipped) folder
    3. Right click on new zip file and choose "Extract All..."
    4. Extract to a new folder

    The extracted files will no longer be from the "Internet Zone". You can copy back into the original directory if you wish.

提交回复
热议问题