return</span> random.Next(min, max);
        }
    }
}</pre>

<h2>Using the custom task</h2>

<p>Compile the project and put the generated assembly into the <em>tools/FAKE</em> path of your project. Now you can use your CustomTask in the build script:</p>

<table class="pre"><tr><td class="lines"><pre class="fssnip">
<span class="l"> 1: </span>
<span class="l"> 2: </span>
<span class="l"> 3: </span>
<span class="l"> 4: </span>
<span class="l"> 5: </span>
<span class="l"> 6: </span>
<span cla