Hi Thomas,

The NAnt.Core.Attributes.FileSetAttribute class was removed after the 0.84
release. 

Task developers should now use a NAnt.Core.Attributes.BuildElementAttribute
instead.

For example, change this:

        [FileSet("fileset")]          
      public FileSet CopyFileSet {
             get { return _fileset; }
             set { _fileset = value; } 
        }

To this:

        [BuildElement("fileset")]          
      public FileSet CopyFileSet {
             get { return _fileset; }
             set { _fileset = value; } 
        }

Are you using any third party task library ?

Gert


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Thomas Weingartner
> Sent: dinsdag 8 maart 2005 19:00
> To: nant-developers@lists.sourceforge.net
> Subject: [nant-dev] Bug Report NAnt 0.85 RC2
> 
> BUILD FAILED
> 
> INTERNAL ERROR
> 
> System.TypeLoadException: Could not load type 
> 'NAnt.Core.Attributes.FileSetAttribute' from assembly 
> 'NAnt.Core, Version=
> 0.85.1869.0, Culture=neutral, PublicKeyToken=null'.
>     at System.Reflection.CustomAttribute.GetCustomAttributeList(Int32 
> token, IntPtr module, Void* caTypeHandle, CustomAtt
> ribute caItem, Int32 level)
>     at 
> System.Reflection.CustomAttribute.GetCustomAttributeList(MemberInfo 
> member, RuntimeType caType, CustomAttribute ca
> Item, Int32 level)
>     at 
> System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeP
> ropertyInfo 
> property, RuntimeType caType)
>     at System.Reflection.RuntimePropertyInfo.GetCustomAttributes(Type 
> attributeType, Boolean inherit)
>     at System.Attribute.InternalGetCustomAttributes(PropertyInfo 
> element, Type type, Boolean inherit)
>     at System.Attribute.GetCustomAttributes(MemberInfo element, Type 
> type, Boolean inherit)
>     at System.Attribute.GetCustomAttribute(MemberInfo element, Type 
> attributeType, Boolean inherit)
>     at 
> NAnt.Core.AttributeConfigurator.InitializeAttribute(PropertyInfo 
> propertyInfo)
>     at NAnt.Core.AttributeConfigurator.Initialize()
>     at NAnt.Core.Element.InitializeXml(XmlNode elementNode, 
> PropertyDictionary properties, FrameworkInfo framework)
>     at NAnt.Core.Element.Initialize(XmlNode elementNode, 
> PropertyDictionary properties, 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()
> 
> Please send bug report to [EMAIL PROTECTED]
> 
> Total time: 9.9 seconds.
> 
> 
> -- 
> Thomas Weingartner
> Software Engineer, Dipl. Ing. FH, MCP .NET
> _________________________________________
> 
> bbv Software Services AG
> Baarerstrasse 113
> Postfach
> CH-6302 Zug
> Schweiz
> 
> Tel: ++41 41 766 19 22
> Fax: ++41 41 766 19 19
> Web: www.bbv.ch
> eMail: mailto:[EMAIL PROTECTED]
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> nant-developers mailing list
> nant-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-developers
> 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to