The build file
source is as follows:
<?xml
version="1.0" encoding="utf-8" ?>
<project
name="GenerateNAntSchemaForVS.NET"
default="genschema">
<property name="SchemaFile" value="C:\NAnt.xsd"/>
<target name="genschema">
<nantschema output="${SchemaFile}"
target-ns="http://nant.sf.net/schemas/nant.xsd"/>
</target>
</project>
C:\>nant
NAnt 0.85 (Build 0.85.1869.0; rc2;
2/12/2005)
Copyright (C) 2001-2005 Gerry
Shaw
http://nant.sourceforge.net
Buildfile:
file:///C:/schema.build
Target framework: Microsoft .NET
Framework 2.0 Beta 1
Target(s) specified:
genschema
genschema:
BUILD FAILED
INTERNAL ERROR
System.TypeLoadException: Could
not load type 'NAnt.Core.Attributes.FileSetAttri
bute' from assembly 'NAnt.Core,
Version=0.85.1869.0, Culture=neutral, PublicKeyT
oken=null'.
at
System.Reflection.CustomAttribute.GetCustomAttributeList(Int32 token,
IntP
tr module, Void* caTypeHandle,
CustomAttribute caItem, Int32 level)
at
System.Reflection.CustomAttribute.GetCustomAttributeList(MemberInfo
member
, RuntimeType caType,
CustomAttribute caItem, Int32 level)
at
System.Reflection.CustomAttribute.GetCustomAttributes(RuntimePropertyInfo
property, RuntimeType
caType)
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.Tasks.NAntSchemaGenerator.FindOrCreateComplexType(Type
t)
at
NAnt.Core.Tasks.NAntSchemaGenerator..ctor(Type[] tasks, Type[]
dataTypes,
String targetNS)
at
NAnt.Core.Tasks.NAntSchemaTask.WriteSchema(Stream stream, Type[] tasks,
Ty
pe[] dataTypes, String
targetNS)
at
NAnt.Core.Tasks.NAntSchemaTask.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: 0.6
seconds.
"This
e-mail is intended for the sole use of the intended recipient and may contain
privileged, sensitive, or protected health information. If you are not the
intended recipient, be advised that the unauthorized use, disclosure, copying,
distribution, or action taken in reliance on the contents of this
communication is prohibited. If you have received this e-mail in error, please
notify the sender via telephone or return e-mail and immediately delete this
e-mail."