Bugs item #929095, was opened at 2004-04-03 20:27
Message generated for change (Comment added) made by seanfoy
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=929095&group_id=31650
Category: Core
Group: cvs
Status: Open
Resolution: Works For Me
Priority: 5
Submitted By: Sean M. Foy (seanfoy)
Assigned to: Nobody/Anonymous (nobody)
Summary: NAnt.exe.config net-1.1 framework config may be incorrect
Initial Comment:
I have encountered a machine on which the registry
value "SOFTWARE\Microsoft\.NETFramework\sdkInstallRo
otv1.1" does not exist. My registry instead contains a
value
named "SOFTWARE\Microsoft\.NETFramework\sdkInstallR
oot" which points to my .NET Framework 1.1 install root.
This leads to an error building nantcontrib:
---
compile.schemas:
[loadtasks] Loading tasks from
assembly 'C:\nantcontrib\build\nantcontrib-0.84-d
ebug\bin\NAnt.Xsd.Tasks.dll'.
C:\nantcontrib\NAntContrib.build(95,10):
Attribute 'uptodatefile' for <if ... />
is deprecated. Use <if test="${file::up-to-date
(comparefile, uptodatefile)}">
instead.
[xsd] Compiling Schema src/Tasks/MSITask.xsd into
Microsoft.NET classes
BUILD FAILED
[xsd] ERROR: The SDK for the 'net-1.1' framework is
not available or not c
onfigured.:
NAnt.Core.BuildException: The SDK for the 'net-1.1'
framework is not available o
r not configured.
at
NAnt.Core.Tasks.ExternalProgramBase.DetermineFilePath
() in c:\nant\src\NAn
t.Core\Tasks\ExternalProgramBase.cs:line 444
at
NAnt.Core.Tasks.ExternalProgramBase.get_ProgramFileNa
me() in c:\nant\src\N
Ant.Core\Tasks\ExternalProgramBase.cs:line 88
at
NAnt.Core.Tasks.ExternalProgramBase.PrepareProcess
(Process process) in c:nant\src\NAnt.Core\Tasks\ExternalProgramBase.cs:line
286
at NAnt.Core.Tasks.ExternalProgramBase.StartProcess
() in c:\nant\src\NAnt.Cor
e\Tasks\ExternalProgramBase.cs:line 317
at NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask
() in c:\nant\src\NAnt.Core
\Tasks\ExternalProgramBase.cs:line 234
at NAnt.Contrib.Tasks.XsdTask.ExecuteTask() in
c:\nantcontrib\src\Tasks\XsdTa
sk.cs:line 278
Total time: 3.2 seconds.
---
The value in the .config file works for some other
computers I have.
----------------------------------------------------------------------
>Comment By: Sean M. Foy (seanfoy)
Date: 2004-04-04 12:00
Message:
Logged In: YES
user_id=1013250
You are right: I have both versions 1.0 and 1.1 of the
framework installed, but only version 1.0 of the SDK.
----------------------------------------------------------------------
Comment By: Gert Driesen (drieseng)
Date: 2004-04-04 04:12
Message:
Logged In: YES
user_id=707851
Sean,
I'm pretty sure the registry key for .NET 1.1 is
always "SOFTWARE\Microsoft\.NETFramework\sdkInstallRo
otv1.1". The other machine must only have the .NET
Framework 1.0 SDK installed.
Can you verify this ?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=929095&group_id=31650
-------------------------------------------------------
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-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers