Advertisement
rmboggs

NAnt doc build test fix

Oct 1st, 2011
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.18 KB | None | 0 0
  1. Index: NAnt.build
  2. ===================================================================
  3. RCS file: /cvsroot/nant/nant/NAnt.build,v
  4. retrieving revision 1.278
  5. diff -u -r1.278 NAnt.build
  6. --- NAnt.build  26 Sep 2011 00:10:20 -0000  1.278
  7. +++ NAnt.build  1 Oct 2011 22:48:00 -0000
  8. @@ -332,6 +332,7 @@
  9.              </resources>
  10.          </csc>
  11.          <echo message="Creating task and type documentation from ${build.dir}/bin" />
  12. +        <xmlpoke file="${build.dir}/bin/${nant.console.name}.exe.config" xpath="/configuration/runtime/NetFx40_LegacySecurityPolicy/@enabled" value="true" />
  13.          <exec program="${build.dir}/bin/${nant.console.name}.exe" managed="true">
  14.              <arg value="-indent:1" />
  15.              <arg value="-buildfile:NAnt.build" />
  16. @@ -341,6 +342,7 @@
  17.              <arg value="${project.config}" />
  18.              <arg value="self-userdoc" />
  19.          </exec>
  20. +        <xmlpoke file="${build.dir}/bin/${nant.console.name}.exe.config" xpath="/configuration/runtime/NetFx40_LegacySecurityPolicy/@enabled" value="false" />
  21.      </target>
  22.      <target name="self-userdoc" depends="init">
  23.          <!-- use ndoc and NAnt.Documenter to build user doc if they need it -->
  24.  
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement