Hi all,

Firstly, quick thanks to the team for a great tool and responsive mailing
list!  Our entire dev + build process is slowly being built around nant (+
nunit/asp, ndoc etc), and that decision was much easier to make given the
activity and responsiveness on the list.

Double-check: does this mean the nightly build now solves the "missing key
file" problem with solution?   

I sure hope so.  I've been working around it by:
 - copying *all* our solution debug and release configs to "debugNAnt",
"releaseNAnt" (~20 solutions)
 - adding a custom constant "NAnt=True" to *all* projects for these configs
(~60 projects)
 - adding conditional compilation to *all* assemblyInfo files, eg:
        #If NAnt Then
                <Assembly: AssemblyKeyFile("Configuration.snk")> 
        #Else
                <Assembly: AssemblyKeyFile("..\..\Configuration.snk")> 
        #End If
which, while effective, has been a pain in the butt to retrofit across many
projects in different CVS branches!

If this is now a proper fix, will very happily unwind the work-around.

Rgds
Garth

-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: Sunday, 28 March 2004 19:36
To: Gert Driesen; Ian MacLean; Eric Fetzer
Cc: Florian Benischke; Nant Users
Subject: Re: AW: [Nant-users] Solution Task and Strong Names


I decided to implement option 1.

This is now in cvs.

Gert

----- Original Message ----- 
From: "Gert Driesen" <[EMAIL PROTECTED]>
To: "Ian MacLean" <[EMAIL PROTECTED]>; "Eric Fetzer"
<[EMAIL PROTECTED]>
Cc: "Florian Benischke" <[EMAIL PROTECTED]>; "Nant Users"
<[EMAIL PROTECTED]>
Sent: Sunday, March 28, 2004 10:07 AM
Subject: Re: AW: [Nant-users] Solution Task and Strong Names


> I looked into this, and apparently VS.NET runs csc with <project
> directory>\obj\<configuration> as working directory or output directory
(the
> compiler look in both the current directory and the output directory for
> locating the key file).  I think it might actually use <project
> directory>\obj\<configuration> as output directory, and then copy the
> assemblies to the actual output directory, but I'm not sure about this ...
>
> Now, how do you propose to deal with this ?
>
> Should we
>
> 1. create the <project directory>\obj\<configuration> directory (if it
> doesn't exist), and use it as working directory ?
> 2. use <project directory>\obj\<configuration> as output directory, and
then
> copy the compiled assembly (and its debug symbols) to the actual output
> directory ?
>
> Gert
>
> ----- Original Message ----- 
> From: "Ian MacLean" <[EMAIL PROTECTED]>
> To: "Eric Fetzer" <[EMAIL PROTECTED]>
> Cc: "Florian Benischke" <[EMAIL PROTECTED]>; "Nant Users"
> <[EMAIL PROTECTED]>
> Sent: Saturday, March 27, 2004 4:24 AM
> Subject: Re: AW: [Nant-users] Solution Task and Strong Names
>
>
> > Hmm,
> > It looks like csc.exe is run with the project folder as the working
> > directory when to be consistent with vs.net it should be the
> > output/object folder.
> > ie line 423 of Project.cs
> >
> > psi.WorkingDirectory = _projectDirectory;
> >
> > should be setting WorkingDirectory to the directory of the output path.
> > Can someone more familiar with the solution task that I am comment on
this
> ?
> >
> > I think its kinda weird that vs.net references it from the output folder
> > but thats neither here nor there.
> >
> > Ian
> >
> > btw Eric - I just checked the subscriber list for nant-users and your
> > email isn't there. I can add you now if you'd like.
> >
> >
> >
> > Eric Fetzer wrote:
> >
> > >Florian,
> > >
> > >If I did that, it wouldn't compile for the developers
> > >here (who use Visual Studio), only the daily build.
> > >The key file exists in the same place as the csproj
> > >file.  Visual Studio is referencing the snk file from
> > >the Object folder.  Any other suggestions out there?
> > >
> > >Thanks,
> > >Eric
> > >
> > >
> > >--- Florian Benischke <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >>Hi Eric,
> > >>
> > >>looks like nant just can't find your key file. I'm
> > >>using assembly signing
> > >>too and I'm not having any problems.
> > >>
> > >>You can try setting the key file reference to a
> > >>"strong" path, like
> > >>D:\mykeyfile.snk (well you also have to copy the
> > >>file there ;) ), to see
> > >>that key file signing is possible.
> > >>
> > >>
> > >>Best regards / Mit freundlichen Gru?en
> > >>
> > >>Florian Benischke
> > >>Softwareentwickler
> > >>Technical Applications
> > >>______________________________________
> > >>Albat + Wirsam Software-Vertriebs AG
> > >>
> > >>
> > >>-----Ursprungliche Nachricht-----
> > >>Von: [EMAIL PROTECTED]
> > >>[mailto:[EMAIL PROTECTED]
> > >>Auftrag von Eric Fetzer
> > >>Gesendet: Freitag, 26. Marz 2004 00:21
> > >>An: Nant Users
> > >>Betreff: [Nant-users] Solution Task and Strong Names
> > >>
> > >>I am getting the following error trying to build a
> > >>new
> > >>project with the solution task:
> > >>
> > >>[compile] error CS1548: Cryptographic failure while
> > >>signing assembly 'd:\myproject\myDll.dll' -- 'Error
> > >>reading key file '..\..\myproject.myDll.snk' -- The
> > >>system cannot find the file specified. '
> > >>
> > >>Does solution not support strong names?
> > >>
> > >>Thanks,
> > >>Eric
> > >>
> > >>__________________________________
> > >>Do you Yahoo!?
> > >>Yahoo! Finance Tax Center - File online. File on
> > >>time.
> > >>http://taxes.yahoo.com/filing.html
> > >>
> > >>
> > >>
> > >>
> > >>
> > >-------------------------------------------------------
> > >
> > >
> > >>This SF.Net email is sponsored by: IBM Linux
> > >>Tutorials
> > >>Free Linux tutorial presented by Daniel Robbins,
> > >>President and CEO of
> > >>GenToo technologies. Learn everything from
> > >>fundamentals to system
> > >>
> > >>
> > >>
> > >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > >
> > >
> > >>_______________________________________________
> > >>Nant-users mailing list
> > >>[EMAIL PROTECTED]
> > >>
> > >>
> > >>
> > >https://lists.sourceforge.net/lists/listinfo/nant-users
> > >
> > >
> > >
> > >
> > >__________________________________
> > >Do you Yahoo!?
> > >Yahoo! Finance Tax Center - File online. File on time.
> > >http://taxes.yahoo.com/filing.html
> > >
> > >
> > >-------------------------------------------------------
> > >This SF.Net email is sponsored by: IBM Linux Tutorials
> > >Free Linux tutorial presented by Daniel Robbins, President and CEO of
> > >GenToo technologies. Learn everything from fundamentals to system
> > >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > >_______________________________________________
> > >Nant-users mailing list
> > >[EMAIL PROTECTED]
> > >https://lists.sourceforge.net/lists/listinfo/nant-users
> > >
> > >
> >
> >
> > -- 
> > Ian MacLean, Developer,
> > ActiveState, a division of Sophos
> > http://www.ActiveState.com
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IBM Linux Tutorials
> > Free Linux tutorial presented by Daniel Robbins, President and CEO of
> > GenToo technologies. Learn everything from fundamentals to system
> > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > _______________________________________________
> > Nant-users mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/nant-users
> >
> >
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
>



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


---
This email and any files transmitted with it are solely intended for the use of the 
addressee(s) and may contain information that is confidential and privileged.  If you 
receive this email in error, please advise us by return email immediately.  Please 
also disregard the contents of the email, delete it and destroy any copies immediately.
Computershare Limited and its subsidiaries do not accept liability for the views 
expressed in the email or for the consequences of any computer viruses that may be 
transmitted with this email.
This email is also subject to copyright.  No part of it should be reproduced, adapted 
or transmitted without the written consent of the copyright owner.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to