« Return to Thread: Nant property passed to CC.NET for pass/fail condition?
Do you really have net-4.0 in there twice?
BOb
From: Chad Petersen [mailto:Chad.Petersen@...]
Sent: Thursday, March 01, 2012 1:18 PM
To: nant-users@...
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
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
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"
>
« Return to Thread: Nant property passed to CC.NET for pass/fail condition?
| Free embeddable forum powered by Nabble | Forum Help |