Hi Gert,

I attempted to run the nightly build but I haven't quite got to the point
where I can assert anything.

I will say, the license step of the solution did not throw any errors.

I'll let you know how the whole build went early next week, once I get my
head around some other issues that are messing with me.

Unrelated note:

        under nant 
                .. -> Resolves to the current build file location
                c:.. -> Resolves to the current directory on the c drive 

These need not be the same.

Regards,

Peter

-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 14, 2004 3:55 AM
To: Horsfield, Peter A; [EMAIL PROTECTED]
Subject: Re: [nant-dev] Problem with license task


Hi,

Can you both try using the latest nightly build
(http://nant.sourceforge.net/nightly/builds) and report back ?

Thanks,

Gert

----- Original Message -----
From: "Horsfield, Peter A" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 14, 2004 12:42 AM
Subject: RE: [nant-dev] Problem with license task


> Hi Dr Rainer, everyone
>
> The big question is:
>
> Does this change work with code using the default .NET licensing model 
> and other licensed controls like ChartFX?
>
> I've tried this change before, and will do so again next week to force 
> our build to succeed, but I believe that a similar change proposed 
> before was shot down based on that no license file would be created 
> for the default model. However a license file is not always needed for 
> 3rd party
providers.
>
> I don't know what the solution is, but perhaps if we can detect when 
> the .NET default license provider is used, we can keep supporting it 
> while allowing 3rd party license providers... ?
>
> Peter
>
> -----Original Message-----
> From: Dr. Rainer Hessmer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 13, 2004 5:55 PM
> To: [EMAIL PROTECTED]
> Subject: [nant-dev] Problem with license task
>
>
> Hi,
>
> I am using NAnt 0.84 on Windows with the .Net framework 1.1 to build 
> solution files. Our solution uses Infragistics controls which are
correctly
> licensed. Building the solution with Visual Studio .Net 2003 works 
> without problems. Building the same solution by using the NAnt 
> solution task
results
> in the exception listed at the end of this email.
>
> In order to avoid this exception I commented out the call 
> LicenseManager.CreateWithContext(tp, dlc) in the LicenseTask.cs file.
>
>
> //                            try {
> //                                LicenseManager.CreateWithContext(tp,
> dlc);
> //                            } catch (Exception ex) {
> //                                throw new
> BuildException(string.Format(CultureInfo.InvariantCulture,
> //                                    "Failed to create license for type
> {0}.", tp),
> //                                    licenseTask.Location, ex);
> //                            }
>
> With these lines commented out I can compile our solution just fine. 
> Note that there exist a few posts probably about the same issue in the 
> user
list
> (see 
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg02379.
> ht
> ml).
>
> Thanks for providing this fantastic build tool! NAnt rocks.
>
> Best Regards,
>
> Dr. Rainer Hessmer
> Chief Architect
> DataWorks Systems
>
> ----------------------------------------------------------------------
> --
> ----------------------------
>
> 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.InitSer
> ia
> lize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext
> context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter
> converter)
>    at
> System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize
> (Object obj, ISurrogateSelector surrogateSelector, StreamingContext
context,
> SerObjectInfoInit serObjectInfoInit, IFormatterConverter
> converter)
>    at 
> System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(Writ
> eO
> bjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
>    at
> System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Ob
> ject graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean
> fCheck)
>    at
> System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize
> (Stream serializationStream, Object graph, Header[] headers, Boolean
> fCheck)
>    at
> System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeMessa
> geParts(ArrayList argsToSerialize)
>    at
> System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage..ctor(IMet
> hodReturnMessage mrm)
>    at
> System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage.SmuggleIfP
> ossible(IMessage msg)
>    at
System.Runtime.Remoting.Channels.CrossAppDomainSink.DoDispatch(Byte[]
> reqStmBuff, SmuggledMethodCallMessage smuggledMcm, 
> SmuggledMethodReturnMessage& smuggledMrm)
>    at 
> System.Runtime.Remoting.Channels.CrossAppDomainSink.DoTransitionDispat
> ch
> (Byte[] reqStmBuff, SmuggledMethodCallMessage smuggledMcm,
> SmuggledMethodReturnMessage& smuggledMrm)
>
> 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()
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up 
> now
for
> SourceForge Broadband and get the fastest 6.0/768 connection for only 
> $19.95/mo for the first 3 months! 
> http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click
> _______________________________________________
> nant-developers mailing list [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
>
>
>
> >>> The information contained in this e-mail transmission is 
> >>> privileged
and/or confidential intended solely for the exclusive use of the individual
addressee. If you are not the intended addressee you are hereby notified
that any retention, disclosure or other use is strictly prohibited. If you
have received this notification in error, please immediately contact the
sender and delete the material.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up 
> now for SourceForge Broadband and get the fastest 6.0/768 connection 
> for only $19.95/mo for the first 3 months! 
> http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
> _______________________________________________
> nant-developers mailing list [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
>


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to