From: Gert D. <ger...@pa...> - 2004-01-25 19:40:34
|
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" <S....@qs...> To: <nan...@li...> 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 nan...@li.... 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 |