Kostya, This is a known issue in NAnt prior to 0.85. Can you try one of the recent nightly builds (http://nant.sourceforge.net/nightly/builds) ?
Gert ----- Original Message ----- From: "Kostya Kostyuchenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 11, 2004 9:50 AM Subject: [nant-dev] solution compilation bug > Hello. > > When I tried to compile my solution, I got this error: > ========================================= > BUILD FAILED > > INTERNAL ERROR > > System.IO.FileLoadException: Assembly farpoint.calcengine.dll > already loaded without additional security evidence. > File name: "farpoint.calcengine.dll" > > Server stack trace: > at System.Reflection.Assembly.nLoad(AssemblyName fileName, > String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean > throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) > at System.Reflection.Assembly.InternalLoad(AssemblyName > assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& > stackMark) > at System.Reflection.Assembly.LoadFrom(String assemblyFile, > Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm > hashAlgorithm) > at System.Reflection.Assembly.LoadFrom(String assemblyFile, > Evidence securityEvidence) > at > NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask > licenseTask, String licenseFile) in > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.DotNet\Tasks\License > Task.cs:line 251 > at > System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(Me > thodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean > fExecuteInContext, Object[]& outArgs) > at > System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMess > age msg, Int32 methodPtr, Boolean fExecuteInContext) > > 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 licenseFile) in > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.DotNet\Tasks\License > Task.cs:line 210 > at NAnt.DotNet.Tasks.LicenseTask.ExecuteTask() in > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.DotNet\Tasks\License > Task.cs:line 191 > at NAnt.Core.Task.Execute() in > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.Core\Task.cs:line > 151 > at NAnt.VSNet.Resource.CompileLicx() in > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.VSNet\Resource.cs:li > ne 165 > at NAnt.VSNet.Resource.Compile(ConfigurationSettings > configurationSettings, Boolean showCommands) in > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.VSNet\Resource.cs:li > ne 73 > at NAnt.VSNet.Project.Compile(String configuration, > ArrayList alCSCArguments, String strLogFile, Boolean bVerbose, Boolean > bShowCommands) in > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.VSNet\Project.cs:lin > e 355 > at NAnt.VSNet.Solution.Compile(String configuration, > ArrayList compilerArguments, String logFile, Boolean verbose, Boolean > showCommands) in > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.VSNet\Solution.cs:li > ne 279 > at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.VSNet\Tasks\Solution > Task.cs:line 335 > at NAnt.Core.Task.Execute() in > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.Core\Task.cs:line > 151 > at NAnt.Core.Target.Execute() in > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.Core\Target.cs:line > 217 > at NAnt.Core.Project.Execute(String targetName, Boolean > forceDependencies) in > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.Core\Project.cs:line > 772 > at NAnt.Core.Project.Execute() in > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.Core\Project.cs:line > 734 > at NAnt.Core.Project.Run() in > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.Core\Project.cs:line > 797 > > Please send bug report to > [EMAIL PROTECTED] > ========================================= > > Whats wrong with it? When I compile this solution with Visual Studio it > compiles ok. > > > > ------------------------------------------------------- > 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 > > ------------------------------------------------------- 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
