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\LicenseT
ask.cs:line 251
at
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(Met
hodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessa
ge 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\LicenseT
ask.cs:line 210
at NAnt.DotNet.Tasks.LicenseTask.ExecuteTask() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.DotNet\Tasks\LicenseT
ask.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:lin
e 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:lin
e 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:line
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:lin
e 279
at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.VSNet\Tasks\SolutionT
ask.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.
-------------------------------------------------------
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