I am using Nant build 0.85.1548.0 and am having a
problem with the readregistry task.  Below is an
example of a build file that will not run:

<?xml version="1.0" ?>
<project name="Designer" default="build"
xmlns="http://nant.sf.net/schemas/nant-0.85.win32.net-1.0.xsd";>
    <target name="build">
        <property name="test" value=""/>
        <readregistry
key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
property="test"/>
        <echo message="${test}"/>
    </target>
</project>

The error I get is:

BUILD FAILED

D:\temp\designer\test.build(5,3):
invalid element <readregistry>. Unknown task or
datatype.

If I remove the xmlns attribute at the top, it works,
but I need that attribute to maintain intellisense
from vs.net.  Any thoughts?

Andrew

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to