Do you really have net-4.0 in there twice?

BOb


From: Chad Petersen [mailto:chad.peter...@harlandfs.com]
Sent: Thursday, March 01, 2012 1:18 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] The "vendor" attribute does not exist, or has no value.

Our build machine is being converted to Nant 0.91 and .NET 4.0. When I try to 
run my builds they are giving this message. I've compared my nant.exe.config to 
a working system on the same version of Nant 0.91 and not seeing anything 
different. Any ideas what might be causing this error?


NAnt 0.91 (Build 0.91.4312.0; release; 10/22/2011)
Copyright (C) 2001-2011 Gerry Shaw
http://nant.sourceforge.net


INTERNAL ERROR

The "vendor" attribute does not exist, or has no value.

Stacktrace:

System.ArgumentException: The "vendor" attribute does not exist, or has no value
.
   at NAnt.Core.FrameworkInfo..ctor(XmlNode frameworkNode, XmlNamespaceManager n
sMgr)
   at NAnt.Core.ProjectSettingsLoader.ProcessFrameworks(XmlNode platformNode)
   at NAnt.Core.ProjectSettingsLoader.ProcessPlatform(XmlNode platformNode)
   at NAnt.Core.ProjectSettingsLoader.ProcessSettings()
   at NAnt.Core.Project.CtorHelper(XmlDocument doc, Level threshold, Int32 inden
tLevel, Optimizations optimization)
   at NAnt.Core.Project..ctor(String uriOrFilePath, Level threshold, Int32 
indentLevel)
   at NAnt.Core.ConsoleDriver.Main(String[] args)

Please send a bug report (including the version of NAnt you're using) to nant-de
velop...@lists.sourceforge.net<mailto:velop...@lists.sourceforge.net>




I do have this in my config file. Vendor="Microsoft">
*snippet*
<framework
                    name="net-4.0"
                    family="net"
                    version="4.0"
                    description="Microsoft .NET Framework 4.0"
                    sdkdirectory="${sdkInstallRoot}"
                    frameworkdirectory="${path::combine(installRoot, 
'v4.0.30319')}"
                    frameworkassemblydirectory="${path::combine(installRoot, 
'v4.0.30319')}"
                    clrversion="4.0.30319"
                    clrtype="Desktop"
                    vendor="Microsoft"
                    > <framework
                    name="net-4.0"
                    family="net"
                    version="4.0"
                    description="Microsoft .NET Framework 4.0"
                    sdkdirectory="${sdkInstallRoot}"
                    frameworkdirectory="${path::combine(installRoot, 
'v4.0.30319')}"
                    frameworkassemblydirectory="${path::combine(installRoot, 
'v4.0.30319')}"
                    clrversion="4.0.30319"
                    clrtype="Desktop"
                    vendor="Microsoft"
                    >

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to