Ich verwende TeamCity, um eines meiner Projekte zu verwalten, aber es scheint nicht gut mit Nant auf Windows Server 2008 zu funktionieren. Was kann ich tun, um dies zu beheben?
BEVOR Sie das ASP.NET 2.0 Framework SDK installieren:
[10:21:07]: BUILD FAILED
[10:21:07]: Failed to initialize the 'Microsoft .NET Framework 2.0' (net-2.0) target framework.
[10:21:07]: Property evaluation failed.
[10:21:07]: Expression: ${path::combine(sdkInstallRoot, 'bin')}
[10:21:07]: ^^^^^^^^^^^^^^
[10:21:07]: Property 'sdkInstallRoot' has not been set.
NACHHER:
[11:48:16]: Target framework: Microsoft .NET Framework 2.0
[11:48:16]: Target(s) specified: test
[11:48:16]: [property] Target framework changed to "Microsoft .NET Framework 3.5".
[11:48:16]: BUILD FAILED
[11:48:16]: INTERNAL ERROR
[11:48:16]: System.NullReferenceException: Object reference not set to an instance of an object.
[11:48:16]: at NAnt.Core.FrameworkInfo.get_Version()
[11:48:16]: at NAnt.Core.Project.UpdateTargetFrameworkProperties()
[11:48:16]: at NAnt.Core.Tasks.PropertyTask.ExecuteTask()
[11:48:16]: at NAnt.Core.Task.Execute()
[11:48:16]: at NAnt.Core.Project.InitializeProjectDocument(XmlDocument doc)
[11:48:16]: at NAnt.Core.Project.Execute()
[11:48:16]: at NAnt.Core.Project.Run()
[11:48:16]: Please send bug report to nant-developers@lists.sourceforge.net.
[11:48:16]: Total time: 0.1 seconds.
[11:48:16]: Process exited with code 1
[11:48:16]: Build finished