From: Gert D. <dri...@us...> - 2004-07-28 18:19:57
|
Update of /cvsroot/nant/nant/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30647 Modified Files: faq.html Log Message: corrected mistakes in "change-targetframework" faq Index: faq.html =================================================================== RCS file: /cvsroot/nant/nant/doc/faq.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** faq.html 23 Apr 2004 08:44:58 -0000 1.3 --- faq.html 28 Jul 2004 18:19:45 -0000 1.4 *************** *** 11,16 **** <tr> <td class="NavBar-Cell"> ! <a title="NAnt home page" href="index.html"><b>NAnt</b></a> ! <img src="arrow.gif" alt="->" width="13" height="9" />Frequently Asked Questions </td> </tr> --- 11,16 ---- <tr> <td class="NavBar-Cell"> ! <a title="NAnt home page" href="index.html"><b>NAnt</b></a> <img src="arrow.gif" alt="->" width="13" height="9" />Frequently ! Asked Questions </td> </tr> *************** *** 20,28 **** <td> <h1> ! <span class="N">N</span><span class="Ant">Ant</span> Frequently Asked Questions</h1> </td> <td style="text-align: right"> ! <a href="index.html"> ! <img style="BORDER-TOP-WIDTH: 0px;BORDER-LEFT-WIDTH: 0px;BORDER-BOTTOM-WIDTH: 0px;BORDER-RIGHT-WIDTH: 0px" alt="NAnt logo (link to home page)" src="logo.gif" width="270" height="118" /></a> </td> --- 20,28 ---- <td> <h1> ! <span class="N">N</span><span class="Ant">Ant</span> ! Frequently Asked Questions</h1> </td> <td style="text-align: right"> ! <a href="index.html"><img style="BORDER-TOP-WIDTH: 0px;BORDER-LEFT-WIDTH: 0px;BORDER-BOTTOM-WIDTH: 0px;BORDER-RIGHT-WIDTH: 0px" alt="NAnt logo (link to home page)" src="logo.gif" width="270" height="118" /></a> </td> *************** *** 35,40 **** <a href="#building-mono">Mono</a> <div style="margin-left: 20px;"> ! <a href="#building-mono-1">How can I avoid getting a NullReferenceException when building ! NAnt on Mono?</a> </div> <a href="#building-vsnet">Visual Studio.NET</a> --- 35,40 ---- <a href="#building-mono">Mono</a> <div style="margin-left: 20px;"> ! <a href="#building-mono-1">How can I avoid getting a NullReferenceException when ! building NAnt on Mono?</a> </div> <a href="#building-vsnet">Visual Studio.NET</a> *************** *** 60,74 **** <div style="margin-left: 20px;"> <h5> ! <a id="building-mono-1" />How can I avoid getting a NullReferenceException when building NAnt on Mono?</h5> <div style="margin-left: 20px;"> <p> ! There are currently some regressions in Mono CVS (<a href="http://bugzilla.ximian.com/show_bug.cgi?id=55996">bug #55996</a>) ! with regards to AppDomain unloading which cause a NullReferenceException when building ! NAnt. </p> <p> ! Zoltan Varga implemented a workaround for this issue: set the environment variable ! <code>MONO_NO_UNLOAD</code> to any value before running NAnt: </p> <pre class="code"> --- 60,74 ---- <div style="margin-left: 20px;"> <h5> ! <a id="building-mono-1" />How can I avoid getting a NullReferenceException when building NAnt on Mono?</h5> <div style="margin-left: 20px;"> <p> ! There are currently some regressions in Mono CVS (<a href="http://bugzilla.ximian.com/show_bug.cgi?id=55996">bug ! #55996</a>) with regards to AppDomain unloading which cause a ! NullReferenceException when building NAnt. </p> <p> ! Zoltan Varga implemented a workaround for this issue: set the environment ! variable <code>MONO_NO_UNLOAD</code> to any value before running NAnt: </p> <pre class="code"> *************** *** 87,104 **** <div style="margin-left: 20px;"> <p> ! NAnt cannot be built using VS.NET, as VS.NET (prior to VS.NET 2005) is unable to handle dependencies between projects very well. </p> <p> ! However, you can compile NAnt using the NAnt build scripts, and then debug NAnt using VS.NET. To do this, open the NAnt solution file in VS.NET and change the ! following debugging properties of the <code>NAnt.Console</code> project (using Project -> Properties -> Configuration Properties -> Debugging): </p> <ul> ! <li>Debug Mode: <i>Program</i></li> ! <li>Start Application: <<i>select NAnt.exe that you just compiled</i>></li> </ul> <p> ! Finally, just run NAnt in VS.NET (using Debug -> Start or just F5), and when VS.NET ! informs you that there were build errors, and asks whether you still want to ! continue : select <code>Yes</code>. </p> </div> --- 87,109 ---- <div style="margin-left: 20px;"> <p> ! NAnt cannot be built using VS.NET, as VS.NET (prior to VS.NET 2005) is unable ! to handle dependencies between projects very well. </p> <p> ! However, you can compile NAnt using the NAnt build scripts, and then debug NAnt ! using VS.NET. To do this, open the NAnt solution file in VS.NET and change the ! following debugging properties of the <code>NAnt.Console</code> project (using ! Project -> Properties -> Configuration Properties -> Debugging): </p> <ul> ! <li> ! Debug Mode: <i>Program</i></li> ! <li> ! Start Application: <<i>select NAnt.exe that you just compiled</i>></li> </ul> <p> ! Finally, just run NAnt in VS.NET (using Debug -> Start or just F5), and when ! VS.NET informs you that there were build errors, and asks whether you still ! want to continue : select <code>Yes</code>. </p> </div> *************** *** 142,146 **** ... </platform> ! > </pre> </li> --- 147,151 ---- ... </platform> ! </frameworks> </pre> </li> *************** *** 150,154 **** <br /> <pre class="code"> ! <property> name="nant.settings.currentframework" value="net-1.0" /> </pre> </li> --- 155,159 ---- <br /> <pre class="code"> ! <property name="nant.settings.currentframework" value="net-1.0" /> </pre> </li> |