I'm getting a build error that seems to come from a 3rd party tool that is referenced in the project (ActiveReports.dll). The project builds from Visual Studio.NET but not with nant. I don't know whether this is a configuration issue with the dll, my script, or a problem with nant. Any ideas?
this is my nant script: <target name="buildFoo" > <solution configuration="Debug" verbose="true" > <projects> <includes name"c:\foo\foo.csproj" /> </projects> </solution> </target> this is the error: [license] C:\Program Files\Common Files\Data Dynamics\ActiveReports for .NET\ActiveReports.dll (loaded) ... [loads more dlls] ... BUILD FAILED INTERNAL ERROR System.IO.FileLoadException: Assembly activereports.dll already loaded without additional security evidence. File name: "activereports.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) at NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask licenseTask, String licenseFile) 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) 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 bShowCommands) at NAnt.VSNet.Solution.Compile(String configuration, ArrayList compilerArguments, 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] Total time: 4.3 seconds. ------------------------------------------------------- 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-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users