I'm getting a stack trace trying to run the license task on version 0.85-rc2, using a licenses.licx file that worked with 0.84. I'm using .Net 1.1, and lc.exe isn't working for me, so I tried setting hascommandlinecompiler to 'false' so that it would use the built in license code. That generates this error:


c:\p4\Thingy.build(49,8): Element <includes... /> for <assemblyfileset... /> is 
deprecated. Use <include> element instead.
  [license] c:\p4\Thingy\Thingy.build(48,6): Attribute 'licensetarget' for <license ... 
/> is deprecated.  Use "target" attribute instead.
  [license] 'c:\p4\bin\ChartFX.dll' has been updated, recompiling.
  [license] Compiling license file 'c:\p4\Thingy\licenses.licx' to 
'c:\p4\Thingy\Thingy.dll.licenses' using target 'Thingy.dll'.

BUILD FAILED - 0 non-fatal error(s), 5 warning(s)

INTERNAL ERROR

System.Runtime.Serialization.SerializationException: The type 
NAnt.Core.Tasks.ExternalProgramBase in Assembly NAnt.Core, Version=0.85.1869.0, 
Culture=neutral, PublicKeyToken=null is not marked as serializable.

Server stack trace:
   at 
System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType
 type, Boolean excludeNonSerializable)
   at 
System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type 
type, StreamingContext context)
   at 
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()
   at 
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object
 obj, ISurrogateSelector surrogateSelector, StreamingContext context, 
SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter)
   at 
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object 
obj, ISurrogateSelector surrogateSelector, StreamingContext context, 
SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter)
   at 
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object 
graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
   at 
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream 
serializationStream, Object graph, Header[] headers, Boolean fCheck)
   at 
System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeMessageParts(ArrayList
 argsToSerialize)
   at 
System.Runtime.Remoting.Messaging.SmuggledMethodCallMessage..ctor(IMethodCallMessage
 mcm)
   at 
System.Runtime.Remoting.Messaging.SmuggledMethodCallMessage.SmuggleIfPossible(IMessage
 msg)
   at 
System.Runtime.Remoting.Channels.CrossAppDomainSink.SyncProcessMessage(IMessage 
reqMsg)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage 
reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& 
msgData, Int32 type)
   at NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask 
licenseTask, String licensesFile)
   at NAnt.DotNet.Tasks.LicenseTask.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]


------------------------------------------------------- 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