Anshul,

Can you try this using the latest nightly build
(http://nant.sourceforge.net/nightly/builds) ?

Your problem will probably not be resovled, but you should get a more
meaningful error message that should help us determine the actual cause ...

Gert

----- Original Message ----- 
From: "Anshul Jain" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 12, 2004 8:18 PM
Subject: [nant-dev] Possible Bug


Hi,
I am using Nant build to compile my project written in C# on Visual Studio
2003 and the script gave me an error. My other projects are compiling fine.
Just this project in which I am using third party library by Infragistics is
not compiling fine. Attaching the resource file in case that helps. Stack
Trace is as follows:

                       Read in 37 resources from
'C:\work\qcps\AT\KDS\ResEdit\StringEditor\EditStringDialogBox.resx'
                       Writing resource file...  Done.

           BUILD FAILED

           INTERNAL ERROR

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

erver stack trace:
  at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize
(Object obj, ISurrogateSelector surrogateSelector, St
eamingContext context, SerObjectInfoInit serObjectInfoInit,
IFormatterConverter converter)
  at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Obj
ect obj, ISurrogateSelector surrogateSelector, Stream
ngContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter
converter)
  at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjec
tInfo objectInfo, NameInfo memberNameInfo, NameInfo t
peNameInfo)
  at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object
graph, Header[] inHeaders, __BinaryWriter serWriter,
Boolean fCheck)
  at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Str
eam serializationStream, Object graph, Header[] heade
s, Boolean fCheck)
  at
System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeMessagePa
rts(ArrayList argsToSerialize)
  at
System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage..ctor(IMethodR
eturnMessage mrm)
  at
System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage.SmuggleIfPossi
ble(IMessage msg)
  at System.Runtime.Remoting.Channels.CrossAppDomainSink.DoDispatch(Byte[]
reqStmBuff, SmuggledMethodCallMessage smuggledMcm, Smuggled
ethodReturnMessage& smuggledMrm)
  at
System.Runtime.Remoting.Channels.CrossAppDomainSink.DoTransitionDispatch(Byt
e[] reqStmBuff, SmuggledMethodCallMessage smuggledMcm
 SmuggledMethodReturnMessage& smuggledMrm)

xception 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 licenseFile)
  at NAnt.DotNet.Tasks.LicenseTask.ExecuteTask()
  at NAnt.Core.Task.Execute()
  at NAnt.VSNet.Resource.CompileLicx()
  at NAnt.VSNet.Resource.Compile(ConfigurationSettings
configurationSettings, Boolean showCommands)
  at NAnt.VSNet.Project.Compile(String configuration, ArrayList
alCSCArguments, String strLogFile, Boolean bVerbose, Boolean bShowComm
nds)
  at NAnt.VSNet.Solution.Compile(String configuration, ArrayList
compilerArguments, String logFile, Boolean verbose, Boolean showComma
ds)
  at NAnt.VSNet.Tasks.SolutionTask.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 help me solving this problem. Thank you.
-Anshul Jain



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to