Hello,

It appears that nant reads the 32 bit registry. Test build script:

<project name="test.nant" default="test"
xmlns="http://nant.sf.net/nightly/2010-05-12-0.91/nant.xsd";>

  <target name="test">
    <readregistry
        property="installRoot"
        key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
        hive="LocalMachine" />
    <echo message="installRoot: ${installRoot}
${framework::get-framework-directory('net-4.0')}" />
  </target>

</project>

On my 64 bit machine, I would expect installRoot to be
"C:\Windows\Microsoft.NET\Framework64\", but it is
"C:\Windows\Microsoft.NET\Framework\", which is under the
"Wow6432Node" in the registry.

Any suggestions or plans to change this?
Thanks,
Luke

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to