|
Hello All
I am getting
an INTERNAL ERROR while making a build using NAnt solution task.. I have a
Solution consisting of two Web projects and 10-15 projects. My build file looks
like this:
<?xml
version="1.0"?>
<project name="Solution
Build" default="build" basedir=".">
<target name="build"> <solution solutionfile="WebSolution.sln" configuration="debug" outputdir="C:\Build Tool\Debug"> <webmap> <map url=""http://localhost/A/A.vbproj">http://localhost/A/A.vbproj" path="...\A.vbproj"/> <map url=""http://localhost/B/B.vbproj">http://localhost/B/B.vbproj" path="...\B.vbproj"/> </webmap> </solution> </target> </project> I am getting the following
error:
INTERNAL ERROR
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.InitSeriali 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(WriteObj ectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo) at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Obje 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.SerializeMessage Parts(ArrayList argsToSerialize) at System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage..ctor(IMetho dReturnMessage mrm) at System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage.SmuggleIfPos 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.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].
I am unable to understand why
this error is occurring and how to fix it. I will be highly thankful for any
help or advice.
Thanks and
Regards
Vishal
Gupta
|
