I tried making a smaller example but couldn&#39;t reproduce the error because i&#39;m not exactly sure whats causing it.<br><br>Heres the code:<br><a href="http://dev.orchidesolutions.com/testcode.tar.bz2">http://dev.orchidesolutions.com/testcode.tar.bz2
</a><br><br>if you run &#39;nant&#39;&nbsp; you&#39;ll see the error, its:<br><br><ol><li class="li1"><div class="de1"><span class="br0">[</span>nant<span class="br0">]</span> /home/sontek/code/personal/devtoo/trunk/src/DataArch.
<span class="me1">DataFactory</span>.<span class="me1">MsSqlDatabase</span>/DataArch.<span class="me1">DataFactory</span>.<span class="me1">MsSqlDatabase</span>.<span class="me1">dll</span>.<span class="me1">build</span> build
</div></li><li class="li2"><div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Buildfile: file:<span class="co1">///home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.MsSqlDatabase/DataArch.DataFactory.MsSqlDatabase.dll.build</span>
</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Target framework: Mono <span class="nu0">2.0</span> Profile</div></li><li class="li2"><div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Target<span class="br0">(</span>s<span class="br0">
)</span> specified: build </div></li><li class="li1"><div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div></li><li class="li2"><div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div></li><li class="li1"><div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; build:</div></li><li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div></li><li class="li1"><div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="br0">[</span>echo<span class="br0">]</span> Build Directory <a href="http://www.google.com/search?q=is+msdn.microsoft.com">
<span class="kw3">is</span></a> /home/sontek/code/personal/devtoo/trunk/src/DataArch.<span class="me1">DataFactory</span>.<span class="me1">MsSqlDatabase</span>/bin/Release</div></li><li class="li2"><div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<span class="br0">[</span>csc<span class="br0">]</span> Compiling <span class="nu0">3</span> files to <span class="st0">&#39;/home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.MsSqlDatabase/bin/Release/DataArch.DataFactory.MsSqlDatabase.dll&#39;
</span>.</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">[</span>csc<span class="br0">]</span> /home/sontek/code/personal/devtoo/trunk/src/DataArch.<span class="me1">DataFactory</span>.<span class="me1">
MsSqlDatabase</span>/MsSqlDataObjectFactory.<span class="me1">cs</span><span class="br0">(</span><span class="nu0">351</span>,<span class="nu0">30</span><span class="br0">)</span>: warning CS0219: The variable `columnsToUpdate
<span class="st0">&#39; is assigned but its value is never used</span></div></li><li class="li2"><div class="de2"><span class="st0">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
[csc]
/home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.MsSqlDatabase/MsSqlDataObjectFactory.cs(479,30):
error CS0309: The type `T&#39;</span> must be convertible to `DataArch.<span class="me1">DataFactory</span>.<span class="me1">Common</span>.<span class="me1">BusinessQueryObject</span><span class="st0">&#39; in order to use it as parameter `T&#39;
</span> <span class="kw1">in</span> the generic type or method `DataArch.<span class="me1">DataFactory</span>.<span class="me1">Common</span>.<span class="me1">BaseDataObjectFactory</span>.<span class="me1">GetBusinessQueryObjectFromReader
</span>&lt;T&gt;<span class="br0">(</span><span class="kw5">System</span>.<span class="me1">Data</span>.<span class="me1">IDataReader</span><span class="br0">)</span><span class="st0">&#39;</span></div></li><li class="li1">
<div class="de1"><span class="st0">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
[csc]
/home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.Common/bin/Release/DataArch.DataFactory.Common.dll
(Location of the symbol related to previous error)</span></div></li><li class="li2"><div class="de2"><span class="st0">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
[csc]
/home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.MsSqlDatabase/MsSqlDataObjectFactory.cs(462,9):
(Location of the symbol related to previous error)</span></div></li><li class="li1"><div class="de1"><span class="st0">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
[csc]
/home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.MsSqlDatabase/MsSqlDataObjectFactory.cs(479,30):
error CS0309: The type `T&#39;</span> must be convertible to `DataArch.<span class="me1">DataFactory</span>.<span class="me1">Common</span>.<span class="me1">BusinessQueryObject</span><span class="st0">&#39; in order to use it as parameter `T&#39;
</span> <span class="kw1">in</span> the generic type or method `DataArch.<span class="me1">DataFactory</span>.<span class="me1">Common</span>.<span class="me1">BaseDataObjectFactory</span>.<span class="me1">GetBusinessQueryObjectFromReader
</span>&lt;T&gt;<span class="br0">(</span><span class="kw5">System</span>.<span class="me1">Data</span>.<span class="me1">IDataReader</span><span class="br0">)</span><span class="st0">&#39;</span></div></li><li class="li2">
<div class="de2"><span class="st0">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
[csc]
/home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.Common/bin/Release/DataArch.DataFactory.Common.dll
(Location of the symbol related to previous error)</span></div></li><li class="li1"><div class="de1"><span class="st0">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
[csc]
/home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.MsSqlDatabase/MsSqlDataObjectFactory.cs(462,9):
(Location of the symbol related to previous error)</span></div></li><li class="li2"><div class="de2"><span class="st0">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [csc] Compilation failed: 2 error(s), 1 warnings</span></div></li><li class="li1"><div class="de1">
<span class="st0">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span></div></li><li class="li2"><div class="de2"><span class="st0">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BUILD FAILED - 0 non-fatal error(s), 7 warning(s)</span></div></li><li class="li1"><div class="de1"><span class="st0">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span></div></li><li class="li2"><div class="de2"><span class="st0">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
/home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.MsSqlDatabase/DataArch.DataFactory.MsSqlDatabase.dll.build(12,10):</span></div></li><li class="li1"><div class="de1"><span class="st0">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; External Program Failed: /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe (return code was 1)
</span></div></li><li class="li2"><div class="de2"><span class="st0">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span></div></li><li class="li1"><div class="de1"><span class="st0">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Total time: 1 seconds.</span></div></li><li class="li2"><br>
</li><li class="li1"><br></li><li class="li2"><div class="de2"><span class="st0">======= MsSqlDataObjectFactory =================</span></div></li><li class="li1"><br></li><li class="li2"><div class="de2"><span class="st0">
&nbsp; public override T[] GetQueryObjects&lt;T&gt;(string query, params QueryParameter[] parameters)</span></div></li><li class="li1"><div class="de1"><span class="st0">462&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{</span></div></li><li class="li2"><div class="de2">
<span class="st0">463&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DbCommand command = this.CreateNewCommand();</span></div></li><li class="li1"><div class="de1"><span class="st0">464 </span></div></li><li class="li2"><div class="de2"><span class="st0">465&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
command.CommandText = query;</span></div></li><li class="li1"><div class="de1"><span class="st0">466&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;foreach (QueryParameter parameter in parameters)</span></div></li><li class="li2"><div class="de2"><span class="st0">
467&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{</span></div></li><li class="li1"><div class="de1"><span class="st0">468&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DbParameter dbParameter = command.CreateParameter();</span></div></li><li class="li2"><div class="de2"><span class="st0">
469&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;dbParameter.ParameterName = parameter.Name;</span></div></li><li class="li1"><div class="de1"><span class="st0">470&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;dbParameter.Value = parameter.Value;</span></div></li><li class="li2">
<div class="de2"><span class="st0">471&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;command.Parameters.Add(dbParameter);</span></div></li><li class="li1"><div class="de1"><span class="st0">472&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</span></div></li><li class="li2"><div class="de2">
<span class="st0">473 </span></div></li><li class="li1"><div class="de1"><span class="st0">474&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;List&lt;T&gt; list = new List&lt;T&gt;();</span></div></li><li class="li2"><div class="de2"><span class="st0">475 
</span></div></li><li class="li1"><div class="de1"><span class="st0">476&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ExecuteReader(command,</span></div></li><li class="li2"><div class="de2"><span class="st0">477&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;delegate(IDataReader reader)
</span></div></li><li class="li1"><div class="de1"><span class="st0">478&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{</span></div></li><li class="li2"><div class="de2"><span class="st0">479&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;list.Add(GetBusinessQueryObjectFromReader&lt;T&gt;(reader));
</span></div></li><li class="li1"><div class="de1"><span class="st0">480&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;});</span></div></li><li class="li2"><div class="de2"><span class="st0">481 </span></div></li><li class="li1"><div class="de1"><span class="st0">
482&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return list.ToArray();</span></div></li><li class="li2"><div class="de2"><span class="st0">483&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</span></div></li><li class="li1"><br></li><li class="li2"><br></li><li class="li1"><br></li><li class="li2">
<div class="de2"><span class="st0">====== BASE&nbsp; ==========</span></div></li><li class="li1"><br></li><li class="li2"><div class="de2"><span class="st0">&nbsp; protected static T GetBusinessQueryObjectFromReader&lt;T&gt;(IDataReader reader)
</span></div></li><li class="li1"><div class="de1"><span class="st0"> 74&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;where T : BusinessQueryObject, new()</span></div></li><li class="li2"><div class="de2"><span class="st0"> 75&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{</span></div></li>
<li class="li1"><div class="de1"><span class="st0"> 76&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;QueryDataObject data = new QueryDataObject(reader);</span></div></li><li class="li2"><div class="de2"><span class="st0"> 77&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;T t = new T();</span>
</div></li><li class="li1"><div class="de1"><span class="st0"> 78&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;t.data = data;</span></div></li><li class="li2"><div class="de2"><span class="st0"> 79&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return t;</span></div></li><li class="li1"><div class="de1">
<span class="st0"> 80&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</span></div></li><li class="li2"><br></li><li class="li1"><br></li><li class="li2"><div class="de2"><span class="st0">public abstract T[] GetQueryObjects&lt;T&gt;(string query, params QueryParameter[] parameters)
</span></div></li><li class="li1"><div class="de1"><span class="st0"> 91&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;where T : BusinessQueryObject, new(); </span></div></li></ol><br>