nant: invalid element nunit2. Unknown task or datatype

Posted by stacker on Stack Overflow See other posts from Stack Overflow or by stacker
Published on 2010-05-10T20:37:48Z Indexed on 2010/05/10 20:44 UTC
Read the original article Hit count: 873

Filed under:
|

How to solve this problem?

I have this ProjectName.UnitTests.config file, and I did exactly what the documentation said: http://nant.sourceforge.net/release/latest/help/tasks/nunit2.html

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
     <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="nunit.framework" publicKeyToken="96d09a1eb7f44a77" culture="Neutral" /> 
                <bindingRedirect oldVersion="2.0.6.0" newVersion="2.2.8.0" /> 
                <bindingRedirect oldVersion="2.1.4.0" newVersion="2.2.8.0" /> 
            </dependentAssembly>
        </assemblyBinding>
    </runtime>
</configuration>

© Stack Overflow or respective owner

Related posts about nant

Related posts about nunit