From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Junfeng Zhou
Sent: woensdag 23 maart 2005 10:00
To: nant-developers@lists.sourceforge.net
Subject: [nant-dev] nant bug!i have a bug when i run my nant, plz tell me how to do with it, thank you.
System.TypeLoadException: Can't load NAnt.Core.Attributes.FileSetAttribute from NAnt.Core, Version=0.85.1869.0, Culture=n
eutral, PublicKeyToken=nullã
at System.Reflection.CustomAttribute.GetCustomAttributeList(Int32 token, IntP
tr module, RuntimeType caType, CustomAttribute caItem, Int32 level)
at System.Reflection.CustomAttribute.GetCustomAttributeListCheckType(Int32 to
ken, IntPtr module, Type caType, CustomAttribute caItem, Int32 level)
at System.Reflection.CustomAttribute.GetCustomAttributes(MemberInfo member, T
ype caType, Boolean inherit)
at System.Reflection.RuntimePropertyInfo.GetCustomAttributes(Type attributeTy
pe, Boolean inherit)
at System.Attribute.InternalGetCustomAttributes(PropertyInfo element, Type ty
pe, Boolean inherit)
at System.Attribute.GetCustomAttributes(MemberInfo element, Type type, Boolea
n inherit)
at System.Attribute.GetCustomAttribute(MemberInfo element, Type attributeType
, Boolean inherit)
at NAnt.Core.AttributeConfigurator.InitializeAttribute(PropertyInfo propertyI
nfo)
at NAnt.Core.AttributeConfigurator.Initialize()
at NAnt.Core.Element.InitializeXml(XmlNode elementNode, PropertyDictionary pr
operties, FrameworkInfo framework)
at NAnt.Core.Element.Initialize(XmlNode elementNode, PropertyDictionary prope
rties, FrameworkInfo framework)
at NAnt.Core.Project.CreateTask(XmlNode taskNode, Target target)
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Tasks.CallTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
Title: nant bug!
ï
Hi Peter,
The FileSetAttribute was removed between NAnt 0.85 RC1 and
RC2. However, I added it back in recently for backward
compatibility.
Try using a recent nightly build (http://nant.sourceforge.net/nightly/latest).
Gert
- [nant-dev] nant bug! Peter Junfeng Zhou
- RE: [nant-dev] nant bug! Gert Driesen