Somya,

Can you package up a zip file containing the minimum set of files necessary
to reproduce this issue ?

Thanks,

Gert

----- Original Message ----- 
From: "Somya Jain" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 08, 2004 12:03 AM
Subject: [nant-dev] (no subject)


Hi I am getting the following exception when attempting to use the
solution task

            System.Runtime.Serialization.SerializationException: The
type System
.ComponentModel.LicenseException in Assembly System, Version=1.0.5000.0,
Culture
=neutral, PublicKeyToken=b77a5c561934e089 is not marked as serializable.

Server stack trace:
   at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSeria
li
ze(Object obj, ISurrogateSelector surrogateSelector, StreamingContext
context, S
erObjectInfoInit serObjectInfoInit, IFormatterConverter converter)
   at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize
(O
bject obj, ISurrogateSelector surrogateSelector, StreamingContext
context, SerOb
jectInfoInit serObjectInfoInit, IFormatterConverter converter)
   at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteO
bj
ectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
   at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Ob
je
ct graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
   at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize
(S
tream serializationStream, Object graph, Header[] headers, Boolean
fCheck)
   at
System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeMessa
ge
Parts(ArrayList argsToSerialize)
   at
System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage..ctor(IMet
ho
dReturnMessage mrm)
   at
System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage.SmuggleIfP
os
sible(IMessage msg)
   at
System.Runtime.Remoting.Channels.CrossAppDomainSink.DoDispatch(Byte[]
reqS
tmBuff, SmuggledMethodCallMessage smuggledMcm,
SmuggledMethodReturnMessage& smug
gledMrm)
   at
System.Runtime.Remoting.Channels.CrossAppDomainSink.DoTransitionDispatch
(B
yte[] reqStmBuff, SmuggledMethodCallMessage smuggledMcm,
SmuggledMethodReturnMes
sage& smuggledMrm)

Exception rethrown at [0]:
   at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
req
Msg, IMessage retMsg)
   at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgDa
ta, Int32 type)
   at NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask
licenseTas
k, String licenseFile)
   at NAnt.DotNet.Tasks.LicenseTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.VSNet.Resource.CompileLicx()
   at NAnt.VSNet.Resource.Compile(ConfigurationSettings
configurationSettings, B
oolean showCommands)
   at NAnt.VSNet.Project.Compile(String configuration, ArrayList
alCSCArguments,
 String strLogFile, Boolean bVerbose, Boolean bShowCommands)
   at NAnt.VSNet.Solution.Compile(String configuration, ArrayList
compilerArgume
nts, String logFile, Boolean verbose, Boolean showCommands)
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Project.InitializeProjectDocument(XmlDocument doc)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()

            Please send bug report to
[EMAIL PROTECTED]

It seems that the license task is failing.. I can manually remove the
reference to the licx in the project and build work fine. ( I can't use
the licenced control of course :-) )

Any help would be deeply appreciated.

Somya



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to