Targetting the 2.0 framework may result in a "The SDK for the 'net-2.0'
framework is not available or not configured", even if the SDK
(http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-43
3A-9BE5-FA919850BDBF) is installed.

The reason: The registry key
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv2.0"
is not set by the SDK installer, see
http://msdn.microsoft.com/en-us/windowsserver/bb986638.aspx, Section
5.1.2)

i didn't find a reliable way to obtain the SDK installation location yet,
the easiest way is to manually add this key and point to "C:\Program
Files\Microsoft SDKs\Windows\v6.1\" (or wherever you installed your SDK -
also note the trailing slash!).

hth,
Erich

-----Ursprüngliche Nachricht-----
Von: Erich Eichinger [mailto:[EMAIL PROTECTED]
Gesendet: Samstag, 29. November 2008 14:50
An: nant-developers@lists.sourceforge.net
Betreff: [nant-dev] NAnt on Vista x64

Hi,

there are 2 minor issues for building and running Nant on Vista/x64
systems.

1)
system properties may also contain the characters "(" and ")" like in
"sys.env.ProgramFiles(x86)"

-> in NAnt.Core.PropertyDictionary change the regular expression on line
501 to
const string propertyNamePattern =
"^[_A-Za-z0-9][_A-Za-z0-9\\(\\)\\-.]*$";

2)
Vista does not have a "productid" registry value under
HKLM/Software/Microsoft/CurrentVersion

-> in tests\NAnt.Win32\Tasks\ReadRegistryTests.cs, line 37 change the key
name to "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductId"


cheers,
Erich

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to