Yep. I've updated the docs (and examples to specify this). I have also
listed the valid hive values.

----- Original Message -----
From: Overton, Ed
Sent: Thursday, April 03, 2003 3:30 PM
Subject: [Nant-users] RE: readregistry task

This works for me: remove leading "\"
      <readregistry
            property="sdkRoot"
            key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRoot"
            hive="LocalMachinē"
            failonerror="true"
            verbose="true"/>
      <echo message="got here ${sdkRoot}"/>

From: Griffin Caprio <[EMAIL PROTECTED]>
 Can anyone point me to what I am doing wrong here?  I
 am trying to use the <readregistry> task:

 <readregistry property="vs.dir"
 key="\SOFTWARE\Microsoft\.NETFramework\sdkInstallRoot"
 hive="LocalMachine" />

 This is the error I get:
 BUILD FAILED
 Registry Path Not Found! -
 key='\SOFTWARE\Microsoft\.NETFramework\';hive='Micros
 oft.Win32.RegistryHive[]';

 Anyone see what I am doing wrong here?  I am using the
 example right from the Task docs.




-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to