Hi Gert,

In our case, it does harm us.

We have a custom deployment process which validates that all the
dependencies of an assembly can be found on a target machine before
deployment begins. 

In the case I described previously (A --> B --> C), Assembly A and
Assembly B are deployed to different machines, and so Assembly C is not
required to be deployed to the first machine.  The deployment check
fails because in the Assembly A meta-data it finds a reference to
Assembly C, but can't actually find Assembly C on the target machine.



Kevin

-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: Friday, 18 November 2005 17:13
To: Read, Kevin; nant-users@lists.sourceforge.net
Subject: RE: [Nant-users] Building by solution task - complete solution
file verses building by exec program - devenv task


Kevin,

I've had a quick look, and you're right: our behaviour differs from that
of VS.NET (but I don't think it does any harm). If I recall correctly,
we needed to recursively reference assemblies because of some issue with
vbc (we do not need to do this for csc).

I'll have a closer look later today.

Gert

> -----Original Message-----
> From: Read, Kevin [mailto:[EMAIL PROTECTED]
> Sent: vrijdag 18 november 2005 1:01
> To: Gert Driesen; nant-users@lists.sourceforge.net
> Subject: RE: [Nant-users] Building by solution task -
> complete solution file verses building by exec program - devenv task
>
>
> Gert,
>
> Attached is my test solution.  Edit the a.build file to change from
> solution to devenv.com
>
> After running, ildasm the a.dll and notice the reference to the c
> assembly.
>
> -----Original Message-----
> From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent:
> Friday, 18 November 2005 07:46
> To: Read, Kevin; nant-users@lists.sourceforge.net
> Subject: RE: [Nant-users] Building by solution task -
> complete solution
> file verses building by exec program - devenv task
>
>
> Kevin,
>
> Can you send me a repro for the issue you described ?
>
> Thanks !
>
> Gert
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf
> Of > Read, Kevin
> > Sent: donderdag 17 november 2005 22:27
> > To: nant-users@lists.sourceforge.net
> > Subject: RE: [Nant-users] Building by solution task - >
> complete solution file verses building by exec program - devenv task
> > > > Hi Tim,
> > > We have also had dramas with the solution task producing
> incorrect > results.  In our case, the assemblies were
> compiling, but when we had > a chain of dependencies
> (Assembly A calls B calls C) it would
> > include the
> > C dependency in the A metadata.
> > > We still use the solution task for most of our builds,
> but decided to > switch to use devenv.com when this problem occurred.
> > > Example...
> > > <property name="devenv.com" value="C:\Program
> Files\Microsoft Visual > Studio .NET
> 2003\Common7\IDE\devenv.com" /> <exec >
> commandline="${project.solution} /rebuild
> ${project.configuration}" > program="${devenv.com}"
> workingdir="${project.path}" verbose="true" />
> > > > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Tim
> > Mayert
> > Sent: Friday, 18 November 2005 04:59
> > To: nant-users@lists.sourceforge.net
> > Subject: [Nant-users] Building by solution task - complete
> > solution file
> > verses building by exec program - devenv task
> > > > Okay I have running out of ideas here on calling the
> solution task to > build a full solution file.  This just do
> not seem to work correctly!
> > > First, the build order does not be the same as I see it if I
> > build from
> > the exec program - devenv task Second, some project files >
> something get
> > completely missed altogether during the solution task build
> > Third, some
> > projects that contain two .idl files, that are set to generate the
> > include information, only generates this information for
> one > of them and
> > therefore it fails when the project tries to find the other
> files that
> > should have been generated.
> > > Now I am still a beginner with Nant and can not state that I
> > know a lot
> > about it, but a simple task such as calling a full solution file to
> > build should build properly according to the solution
> properties as it
> > has been set up....
> > > Can any one tell me if they have also ran into trouble build
> > a solution
> > from the solution task and if so what they did to get around these
> > issues?
> > > Would it just be easier if I just went to the exec program
> > task and call
> > devenv with the solution file?
> > > Thanks for any help.
> > > Tim Mayert.
> > > > -------------------------------------------------------
> > This SF.Net email is sponsored by the JBoss Inc.  Get
> Certified Today > Register for a JBoss Training Course.  Free
> Certification Exam for All
>
> > Training Attendees Through End of 2005. For more info
> visit: > http://ads.osdn.com/?ad_idv28&alloc_id845&op=ick
> > _______________________________________________
> > Nant-users mailing list
> > Nant-users@lists.sourceforge.net >
> https://lists.sourceforge.net/lists/listinfo/nant-users
> > >
> **********************************************************************
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they

> > are addressed. If you have received this email in error please
> > notify the system manager of QR.
> > > This message has been scanned for the presence of computer
> > viruses. No warranty is given that this message upon its receipt is
> > virus free and no liability is accepted by the sender in
> this respect.
> > > This email is a message only; does not constitute advice and
> > should not be relied upon as such.
> > **************************************************************
> > ******** > > -------------------------------------------------------
> > This SF.Net email is sponsored by the JBoss Inc.  Get
> Certified Today > Register for a JBoss Training Course.  Free
> Certification Exam for All
>
> > Training Attendees Through End of 2005. For more info
> visit: > http://ads.osdn.com/?ad_idv28&alloc_id845&op=ick
> > _______________________________________________
> > Nant-users mailing list
> > Nant-users@lists.sourceforge.net >
> https://lists.sourceforge.net/lists/listinfo/nant-users
> >
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential
> and intended solely for the use of the individual or entity
> to whom they are addressed. If you have received this email
> in error please notify the system manager of QR.
>
> This message has been scanned for the presence of computer
> viruses. No warranty is given that this message upon its receipt is
> virus free and no liability is accepted by the sender in this respect.
>
> This email is a message only; does not constitute advice and
> should not be relied upon as such.
> **********************************************************************
>


**********************************************************************
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager of QR.

This message has been scanned for the presence of computer viruses. No warranty 
is given that this message upon its receipt is
virus free and no liability is accepted by the sender in this respect.

This email is a message only; does not constitute advice and should not be 
relied upon as such.
**********************************************************************


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to