>Are you sure you've installed the SDK, not just the redistributable ?
>Try running NAnt in verbose (NAnt.exe -verbose ...) or debug mode
>(NAnt.exe -debug ...)to get more information as to why the .NET Framework
>2.0 could not be found.
Following output I've got with -verbose:
build:
[csc] Output file
'c:\src\entwicklung\net\CaratControl\bin\CaratControl-1.303.exe' does not
exist, rebuilding.
[csc] Compiling 15 files to
'c:\src\entwicklung\net\CaratControl\bin\CaratControl-1.303.exe'.
[resgen] Output file
'c:\src\entwicklung\net\CaratControl\src\Carat\Gui\MainForm.de.resources' does
not exist, rebuilding.
[resgen] Output file
'c:\src\entwicklung\net\CaratControl\src\Carat\Gui\MainForm.en.resources' does
not exist, rebuilding.
[resgen] Output file
'c:\src\entwicklung\net\CaratControl\src\Carat\Gui\MainForm.resources' does not
exist, rebuilding.
BUILD FAILED
The SDK for the 'net-2.0' framework is not available or not configured.:
NAnt.Core.BuildException: The SDK for the 'net-2.0' framework is not available
or not configured.
bei NAnt.Core.Tasks.ExternalProgramBase.DetermineFilePath()
bei NAnt.Core.Tasks.ExternalProgramBase.get_ProgramFileName()
bei NAnt.DotNet.Tasks.ResGenTask.get_ProgramFileName()
bei NAnt.Core.Tasks.ExternalProgramBase.PrepareProcess(Process process)
bei NAnt.DotNet.Tasks.ResGenTask.PrepareProcess(Process process)
bei NAnt.Core.Tasks.ExternalProgramBase.StartProcess()
bei NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask()
bei NAnt.DotNet.Tasks.ResGenTask.ExecuteTask()
bei NAnt.Core.Task.Execute()
bei NAnt.DotNet.Tasks.CompilerBase.CompileResxResources(StringCollection
resxFiles)
bei NAnt.DotNet.Tasks.CompilerBase.ExecuteTask()
bei NAnt.Core.Task.Execute()
bei NAnt.Core.Target.Execute()
bei NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
bei NAnt.Core.Project.Execute()
bei NAnt.Core.Project.Run()
Cando
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users