|
On my box which has both 1.0 and 1.1 CLR versions on it, I
can successfully build Windows applications with NANT but get this error when
building a simple ASP.NET page: NAnt version
0.8.3 Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net settings warning: frameworkinfo mono-1.0 is invalid and has not been loaded: frameworkDir C:\Program Files\Mono-0.25\bin does not exist settings warning: frameworkinfo sscli-1.0 is invalid and has not been loaded:
frameworkDir C:\sscli\build\v1.x86fstchk.rotor does
not exist Buildfile:
file:///C:/Inetpub/wwwroot/TestNant/default.build Base Directory: C:\Inetpub\wwwroot\TestNant. [tstamp] clean: [delete] Deleting directory
C:\Inetpub\wwwroot\TestNant\bin. [delete] Deleting directory
C:\Inetpub\wwwroot\TestNant\bin\debug. [delete] Deleting directory
C:\Inetpub\wwwroot\TestNant\bin\release. [delete] Deleting directory
C:\Inetpub\wwwroot\TestNant\bin. [delete] Deleting directory
C:\Inetpub\wwwroot\TestNant\src. [delete] Deleting directory
C:\Inetpub\wwwroot\TestNant\src. [mkdir] Creating
directory C:\Inetpub\wwwroot\TestNant\src. [mkdir] Creating
directory C:\Inetpub\wwwroot\TestNant\bin. [mkdir] Creating
directory C:\Inetpub\wwwroot\TestNant\bin\debug. [mkdir] Creating
directory C:\Inetpub\wwwroot\TestNant\bin\release. build: [solution] Starting solution build. [solution] Included projects: [solution] -
C:\Inetpub\wwwroot\TestNant\TestNant.csproj [solution] Reference projects: [solution] Building TestNant
[release]... [solution] Copying references: [solution] - System.Web [solution] -
System [solution] - System.Data [solution] - System.Drawing [solution] - System.XML [solution] Compiling resources: [solution] -
C:\Inetpub\wwwroot\TestNant\t.aspx.resx
Total time: 0 seconds.
BUILD FAILED
The SDK directory for the net-1.0 framework is not available or not configured.: NAnt.Core.BuildException: The SDK
directory for the net-1.0 framework is not available or not configured. at NAnt.DotNet.Tasks.SdkExternalProgramBase.DetermineFilePath() at NAnt.DotNet.Tasks.SdkExternalProgramBase.get_ProgramFileName() at NAnt.Core.Tasks.ExternalProgramBase.PrepareProcess(Process
process) at NAnt.Core.Tasks.ExternalProgramBase.StartProcess() at NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask() at NAnt.DotNet.Tasks.ResGenTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.VSNet.Tasks.Resource.CompileResx() at NAnt.VSNet.Tasks.Resource.Compile(ConfigurationSettings cs, Boolean
bShowCommands) at NAnt.VSNet.Tasks.Project.Compile(String
strConfiguration, ArrayList
alCSCArguments, String strLogFile,
Boolean bVerbose, Boolean bShowCommands) at NAnt.VSNet.Tasks.Solution.Compile(String
strConfiguration, ArrayList
alCSCArguments, String strLogFile,
Boolean bVerbose, Boolean bShowCommands) at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String
targetName) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run()
"WorldSecure <nefn.com>" made the following |
